This is probably a rather obvious question, but I'm trying to understand the queries that Jackrabbit is putting together and figured I'd fire off an email to see if anyone could help me out quick. My xpath query is "//child[foo/@foo = 'bar']" and the lucene query is:

+(+(_:PROPERTIES:1:foo[bar _:PROPERTIES:1:foo[1:bar) +name() = {}foo) +DescendantSelfAxisQuery(+ChildAxisQuery(_:PARENT:, {}testroot), name() = {}child, 1)

Why are there two "_:PROPERTIES:1:foo[bar" ?

(I'm hacking on which is why I'm asking)


Dan Diephouse |