Vikas Saurabh created OAK-4313:
----------------------------------

             Summary: 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: lucene
            Reporter: Vikas Saurabh
            Assignee: Vikas Saurabh
             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