Alex Parvulescu created OAK-1208:
------------------------------------

             Summary: Lucene Index should ignore property existence checks
                 Key: OAK-1208
                 URL: https://issues.apache.org/jira/browse/OAK-1208
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: oak-lucene, query
    Affects Versions: 0.10
            Reporter: Alex Parvulescu
            Assignee: Alex Parvulescu


Some optimizations on the query engine transform certain clauses in property 
existence checks. ie (p = 'somevalue' turns into 'p is not null').

This doesn't play well with lucene as it can not  effectively build a 'not 
null' query, even worse the query doesn't return any results.

As a fix I'll just skip the existence constraints from the generated lucene 
query.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to