On Wednesday, April 3, 2002, at 12:34 PM, Mark Diggory wrote:
It should be this way.
<service
class="org.apache.xindice.server.services.XindiceService" name="Xindice Test1">
<root-collection dbroot="./db/" name="db" security="false">
...
</root-collection>
</service>
<service
class="org.apache.xindice.server.services.XindiceService" name="XindiceTest2">
<root-collection dbroot="./test/" name="test" security="false">
...
</root-collection>
</service>
-thanks, Mark
Amit Rohatgi wrote:
Hi Mark,
I have set up multiple at my end using different entries for the service element with
different root collection name.
Amit
-----Original Message-----
From: Mark Diggory [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 03, 2002 10:38 AM
To: [email protected]
Subject: system.xml and multiple databases
How can I setup multiple databases in the system.xml file?
I assume I would need to add another entry of the like:
<service
class="org.apache.xindice.server.services.XindiceService" name="Xindice"
>
<root-collection dbroot="./db/" name="db" security="false">
<queryengine>
<resolver autoindex="false"
class="org.apache.xindice.core.query.XPathQueryResolver" />
<resolver
class="org.apache.xindice.core.xupdate.XUpdateQueryResolver" />
</queryengine>
</root-collection>
</service>
or do I need to just insert another root collection into this service entry?
-Mark
Kimbro Staken Java and XML Software, Consulting and Writing http://www.xmldatabases.org/ Apache Xindice native XML database http://xml.apache.org/xindice XML:DB Initiative http://www.xmldb.org
