Mac OS X, 10.2.6
Xindice 1.1b (probably b1)
I have a collection of about 250 items. Structure is something like:
<e1>
<e2>
<e3 attr attr attr /e3>
<e4>
<e5 name="value" /e5>
</e4>
</e2>
<e6>
...
</e6>
<e7>
...
</e7>
</e1>
I run an XPath query for /e1/e2/e4/[EMAIL PROTECTED]"value"].
When I run it from the command line it takes about 4 seconds, from start to
finish.
When I run it from the command line with an index it takes about 2.7s.
When I run it in embedded mode it takes 6-8 seconds. Moreover, this 6-8
seconds is ONLY for the actual search, not loading Java code or formatting
output.
Suspecting the xindice-1.1b.jar might be at fault I included the Xindice
code into my eclipse project, but that only made it slower (Note: running
from command line, not within eclipse). Moreover, adding the index did
nothing for the embedded code performance.
Any ideas?
--
Andrew White