Hi,
I've created this bxs script which creates a db, however some things are not as expected.
<?xml version="1.0" encoding="UTF-8"?> <commands> <drop-db name="S-1997"/> <create-db name="S-1997"/> <add path="/mnt/basex_volume/i4Base-Basex7.3/stores/sample-data/1997/">/mnt/basex_volume/i4Base-Basex7.3/sample-data/1997/</add> <create-index type="fulltext"/> <optimize-all/> <info-db/> <info-index type="fulltext"/> <close/> </commands>
I've written a script to call the bxs and create the database which it does however in this case it is not creating the indexes for fulltext as specified in the bxs and rather it is creating the text and attribute index. Why is that?
[ec2-user@soda scripts]$ ./load-data-basex-locally.sh ../configuration/load-data-basex-locally.cfg Database Properties Name: S-1997 Size: 1718 KB Nodes: 51846 Documents: 4 Binaries: 0 Timestamp: 28.11.2012 15:23:26
Resource Properties Timestamp: 28.11.2012 15:23:25 Encoding: UTF-8 Whitespace Chopping: ON
Indexes Up-to-date: true Text Index: ON Attribute Index: ON * Full-Text Index: OFF* Full-Text Index - Not available
I run the script from the dir /mnt/basex_volume/i4Base-Basex7.3/scripts and I end up getting a directory structure created in the scripts folder as follows starting with fulltext.
/mnt/basex_volume/i4Base-Basex7.3/scripts/*fulltext* /mnt/basex_volume/i4Base-Basex7.3/stores/sample-data/1997
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
Thoughts? Thanks