« Return to Thread: Full-Text Search Questions

Re: Full-Text Search Questions

by ToddG :: Rate this Message:

Reply to Author | View in Thread

I ran this query:
 
let $c := //*[. &= 'information']
for $x in $c return $x/ancestor::*[@KEY][1]
 
and it took 432447ms finding 11743 items.
 
This query:
 
let $c := //*[. &= 'information']
for $x in $c return $x
 
takes 937ms.
 
So why does it take so long finding the ancestor?

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open

 « Return to Thread: Full-Text Search Questions

LightInTheBox - Buy quality products at wholesale price