Re: Order of property restrictions in Query Filter

2014-08-01 Thread Thomas Mueller
Hi, Sorry, I don't understand. In my view, the queries select [jcr:path] from [nt:base] where id = '1' and x = '2' and select [jcr:path] from [nt:base] where x = '2' and id = '1' are equivalent (it doesn't matter in which order the conditions were written). It a certain *index* is

Order of property restrictions in Query Filter

2014-07-31 Thread Chetan Mehrotra
Suppose we have a query like select [jcr:path] from [nt:base] where id = '1' and x = '2' Currently the property restrictions are maintained as a HashMap in FilterImpl so above ordering information would be lost. Such ordering information might be useful when querying against Lucene index.