« Return to Thread: Full-Text Search Questions

Re: Full-Text Search Questions

by Wolfgang Meier-2 :: Rate this Message:

Reply to Author | View in Thread

> I'm looking at creating a full-text index entry that returns @KEY nodes.
> Something like this:
>
> <create path="*[@KEY]" type="xs:string"/>

No, the index definition syntax is much simpler than XPath and doesn't
allow filters. Either define an index on path="@KEY" or create one on
qname="@KEY". The qname definition is usually faster as it is better
supported by the optimizer.

Wolfgang

-------------------------------------------------------------------------
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