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

Vikas Saurabh updated OAK-4313:
-------------------------------
    Component/s:     (was: lucene)
                 query

> Query can scan whole repository for suggestion/spellcheck query when no index 
> supports those 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
>              Labels: candidate_oak_1_2, candidate_oak_1_4
>             Fix For: 1.6
>
>
> If no index supports suggestion (or spellcheck) query, then a query like
> {noformat}
> SELECT * from [nt:base] where SUGGEST('test')
> {noformat}
> would pick {{TraversingCursor}} where each row currently evaluates to false 
> and hence a whole repo scan.



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

Reply via email to