You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Tommaso Teofili (JIRA)" <ji...@apache.org> on 2016/03/22 11:20:25 UTC

[jira] [Reopened] (OAK-4126) Suggestion and spellcheck queries throw exception if result contain lucene query character

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

Tommaso Teofili reopened OAK-4126:
----------------------------------

reopening because the issue seems subtler, as when an exception is thrown the query fails but the documents queue may already be filled with some rows and hence cause loops in iterating the results because the _nodocs_ flag is set only at the end of the suggestions (and spellcheck) code block.

> Suggestion and spellcheck queries throw exception if result contain lucene query character
> ------------------------------------------------------------------------------------------
>
>                 Key: OAK-4126
>                 URL: https://issues.apache.org/jira/browse/OAK-4126
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Vikas Saurabh
>            Assignee: Vikas Saurabh
>             Fix For: 1.6, 1.4.1, 1.5.0
>
>
> While doing ACL check, suggestion and spellcheck do a usual lucene search with string returned as result. We need to escape this result before forming search query for ACL check.



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