Paco Avila wrote:
Is XPath better than SQL? Or faster?

XPath gives you more flexibility in filtering the path to a node. e.g. you can have predicates at each location step, that's something that is not possible in SQL.

Performance wise there is no difference. Both query syntaxes are translated in a language neutral query tree that is then executed on the lucene index.

regards
 marcel

Reply via email to