[
https://issues.apache.org/jira/browse/OAK-4313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261907#comment-15261907
]
Thomas Mueller commented on OAK-4313:
-------------------------------------
Looks good to me. Now no exception is thrown for the rep:similar() case, if no
(Lucene / Solr) index is available. That simplifies the code, but I'm not
completely sure if this is a problem, [~teofili] is it OK? In OAK-2548, you
didn't change rep:similar(), was there a reason for that, or maybe
rep:similar() was just not available / important back then? I assume you would
have written about that in OAK-2548 if there was a reason to throw an exception.
> 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
> Labels: candidate_oak_1_2, candidate_oak_1_4
> Fix For: 1.6, 1.5.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)