You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2013/11/20 20:58:35 UTC

[jira] [Created] (OAK-1208) Lucene Index should ignore property existence checks

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)