[ 
https://issues.apache.org/jira/browse/OAK-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14073063#comment-14073063
 ] 

Thomas Mueller commented on OAK-1982:
-------------------------------------

[~edivad], only full-text indexes (Lucene, Solr) know how to process full-text 
conditions. The ordered index must not be used for such queries, as that way 
the full-text index would not be used (only one index can be used per selector 
of the raw query). So using the ordered index for "order by" clauses does not 
work in this case - the query result could be wrong.

> Ordered index must ignore full-text queries
> -------------------------------------------
>
>                 Key: OAK-1982
>                 URL: https://issues.apache.org/jira/browse/OAK-1982
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>    Affects Versions: 1.0, 1.0.1, 1.0.2
>            Reporter: Thomas Mueller
>            Assignee: Thomas Mueller
>             Fix For: 1.1, 1.0.3
>
>
> Currently, the ordered index does not check for full-text constraints (like 
> the property index), and may returns a low cost for such cases.
> Only full-text indexes (Lucene, Solr) know how to process full-text 
> conditions. Only those indexes are supposed to return a low cost for such 
> queries.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to