Thank you for the response. Do you mean something like this?

<service
 class="org.apache.xindice.server.services.XindiceService" name="Xindice">
        <root-collection dbroot="./db/" name="db" security="false">
                ...
        </root-collection>
        <root-collection dbroot="./test/" name="test" security="false">
                ...
        </root-collection>
</service>

or do you mean:

<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





Reply via email to