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/21 09:58:38 UTC

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

     [ https://issues.apache.org/jira/browse/OAK-1208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu resolved OAK-1208.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.12

fixed with rev http://svn.apache.org/r1543951

> 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
>             Fix For: 0.12
>
>
> 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)