Vadim Gritsenko wrote:
Honglin Ye wrote:
Attached XPathQuery.java contains my modification to the original
file.
I added 2 private functions to extract collection list and modified
execute
method to loop over all the collection list.
Ok, I took a look at your changes.
You have modified xindice admin tool to search over several collections.
But where / how you are planning to use this? I mean, with this patch,
Xindice still does not provide programmatic access to multiple
collections search, so you can't use this feature in your application.
I was thinking that this feature should be built either into the
QueryService (package org.apache.xindice.client.xmldb.services), or it
should be some new service.
What do you think?
Vadim
Vadim,
The change I made is not intended to be a formal patch. It only suggest
how we can build a collection list and loop over it. It only works for the
command
line. If the basic logic makes sense and if the multiple collection search
is of any practical use, then we can consider the way to incorporate it.
I think we can put this in QueryService.
Honglin