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

Vikas Saurabh commented on OAK-4313:
------------------------------------

The issue got more relevant with OAK-3838 as before that a lucene index which 
doesn't support suggestion also declared to 'support' suggestions (i.e. it 
didn't say INIFINITY for cost) and hence avoided the traversal.

> QueryImpl should avoid traversal with queries containing native constraints
> ---------------------------------------------------------------------------
>
>                 Key: OAK-4313
>                 URL: https://issues.apache.org/jira/browse/OAK-4313
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: query
>            Reporter: Vikas Saurabh
>            Assignee: Vikas Saurabh
>            Priority: Blocker
>              Labels: candidate_oak_1_2, candidate_oak_1_4
>             Fix For: 1.6, 1.4.2
>
>         Attachments: OAK-4313.patch
>
>
> If no index supports suggestion (or spellcheck or similar) query, then a 
> query like
> {noformat}
> SELECT * from [nt:base] where SUGGEST('test')
> {noformat}
> shouldn't get traversing index



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

Reply via email to