The bug is in version 7.3
Download the 7.5 this morning and the following script everything worked great. I decided to just leave the database storage in the default location.
<?xml version="1.0" encoding="UTF-8"?>
<commands>
<drop-db name="S-DDEX"/>
<create-db name="S-DDEX"/>
<add>/mnt/basex_volume/i4Base-Basex7.3/sample-data/DDEX/</add>
<create-index type="text"/>
<create-index type="attribute"/>
<create-index type="fulltext"/>
<optimize-all/>
<info-index type="text"/>
<info-index type="attribute"/>
<info-index type="fulltext"/>
<list name="S-DDEX"/>
<info-db/>
<close/>
</commands>
Without console output
Input Path Type Content-Type Size
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
20thCenturyIndustries_CIK0000100331_12311997_03311998_1__TEXT--sec14-toc-toci0-sub110-Mtrue-NM1-13false-13NM0-tab49-lis7-lisi0-para209-surP0-page.xml xml application/xml 11136
3ciCompleteComplianceCorp_CIK0000883787_09301997_01151998_1__TEXT--sec14-toc-toci0-sub77-Mtrue-NM1-13false-13NM0-tab30-lis20-lisi0-para118-surP0-page.xml xml application/xml 11981
3comCorp_CIK0000738076_05311997_08261997_1__TEXT--sec14-toc-toci0-sub68-Mtrue-NM1-13false-13NM0-tab9-lis4-lisi0-para285-surP0-page.xml xml application/xml 13023
3DSystemsCorp_CIK0000910638_12311997_03271998_1__TEXT--sec15-toc-toci0-sub116-Mtrue-NM1-13false-13NM0-tab37-lis13-lisi0-para217-surP0-page.xml xml application/xml 15706
4 Resources.
Database Properties
Name: S-1997
Size: 2371 KB
Nodes: 51846
Documents: 4
Binaries: 0
Timestamp: 2012-11-29-09-16-54
Resource Properties
Timestamp: 2012-11-29-09-16-54
Encoding: UTF-8
Whitespace Chopping: ON
Indexes
Up-to-date: true
Text Index: ON
Attribute Index: ON
Full-Text Index: ON
Thanks
Alex
Hi Alex,
heres my follow-up:
> /mnt/basex_volume/i4Base-Basex7.3/scripts/fulltext/mnt/basex_volume/i4Base-Basex7.3/stores/sample-data/1997
I assume that the "fulltext" directory was created by the bug I fixed
yesterday; just give it another try.
The @path argument indicates the target path of your added documents
> I would like to store the database and indexes in
> /mnt/basex_volume/i4Base-Basex7.3/stores/sample-data/1997/
> however I'm not
> clear on how to do this. I thought the
> <add path="/mnt/basex_volume/i4Base-Basex7.3/stores/sample-data/1997/">
> would specify this
within your database (which can then be listed via <list
name="S-1997"/>.
But I guess youd like to change the location of your database
directory? This can be done by updating the DBPATH option in the
.basex configuration file [1].
Christian
[1] http://docs.basex.org/wiki/Configuration