jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Jain (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-2660) wrong resultset multiple ORs, lucene index, full-text
Date Tue, 01 Sep 2015 06:13:46 GMT

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

Amit Jain updated OAK-2660:
---------------------------
    Fix Version/s:     (was: 1.3.5)
                   1.3.6

> wrong resultset multiple ORs, lucene index, full-text
> -----------------------------------------------------
>
>                 Key: OAK-2660
>                 URL: https://issues.apache.org/jira/browse/OAK-2660
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>    Affects Versions: 1.1.7
>            Reporter: Davide Giannella
>            Assignee: Davide Giannella
>             Fix For: 1.3.6
>
>
> When executing a query like 
> {code}
> SELECT * 
> FROM [nt:unstructured] AS c
>  WHERE ( c.[name] = 'yes' 
> OR CONTAINS(c.[surname], 'yes') 
> OR CONTAINS(c.[description], 'yes') ) 
> AND ISDESCENDANTNODE(c, '/content') 
> ORDER BY added DESC 
> {code}
> and a lucene property index is serving all the properties: {{name, surname, description,
added}} the full index is returned and no extra condition is applied.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message