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. The Boolean query created would maintain the order and might be faster if the result from first clause is small. Would it make sense to retain the order of property restrictions? Chetan Mehrotra