I am currently fixing the problem of loading the system property file for the embedded version.

<xindice>
<root-collection dbroot="/home/vbossica/projects/mydb/vbodb" name="thedb">
<queryengine>
<resolver autoindex="false" class="org.apache.xindice.core.query.XPathQueryResolver" />
<resolver class="org.apache.xindice.core.xupdate.XUpdateQueryResolver" />
</queryengine>
</root-collection>
</xindice>


executing the following commands:

> xindice ac -v -l -d config.xml -c /vbodb123 -n data1
> Created : /vbodb123/data1

> xindice ac -v -l -d config.xml -c /vbodb -n data2
> Created : /vbodb/data2

and all of the following commands:

> xindice lc -v -l -d config.xml -c /
> xindice lc -v -l -d config.xml -c /vbodb
> xindice lc -v -l -d config.xml -c /vbodb

give the same result:
>    data1
>    data2
>    system

it seems to me that the -c value doesn't play a role for the root collection.

Should we remove the -c for the root collection (and forget about the 'vbodb' altogether - it make sense since the enduser may be unaware of the name of the database).

Thoughts?

-Vladimir

--
Vladimir R. Bossicard
www.bossicard.com



Reply via email to