[ https://issues.apache.org/jira/browse/OAK-2234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14189929#comment-14189929 ]
Alex Parvulescu commented on OAK-2234: -------------------------------------- looks good +1 The only doubts I had were about introducing a behavior that is similar to OAK-2134, we have to guard against lucene deciding to pickup all existing tokens for a given value and using then in the range query. this doesn't look like it's the case here though. > Support property existence query > -------------------------------- > > Key: OAK-2234 > URL: https://issues.apache.org/jira/browse/OAK-2234 > Project: Jackrabbit Oak > Issue Type: Sub-task > Components: oak-lucene > Reporter: Chetan Mehrotra > Assignee: Chetan Mehrotra > Priority: Minor > Fix For: 1.0.8, 1.2 > > > Add support for property existence query like > {noformat} > select [jcr:path] from [nt:base] where propa is not null > {noformat} > Opposite of this cannot be be supported i.e. {{propa is null}} though! > With OAK-1208 query creation logic explicitly ignores such queries but with > recent Lucene changes it appears to be possible LUCENE-995 -- This message was sent by Atlassian JIRA (v6.3.4#6332)