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 2015/08/12 11:27:46 UTC

[jira] [Resolved] (OAK-3157) Lucene suggestions don't work if suggested phrases don't return documents on :fulltext search

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

Tommaso Teofili resolved OAK-3157.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.4
                   1.2.4

> Lucene suggestions don't work if suggested phrases don't return documents on :fulltext search
> ---------------------------------------------------------------------------------------------
>
>                 Key: OAK-3157
>                 URL: https://issues.apache.org/jira/browse/OAK-3157
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Vikas Saurabh
>            Assignee: Tommaso Teofili
>             Fix For: 1.2.4, 1.3.4
>
>         Attachments: LuceneIndexSuggestionTest.java, OAK-3157.patch
>
>
> In current implementation, [suggestions|http://jackrabbit.apache.org/oak/docs/query/lucene.html#Suggestions] looks up for suggestions based on indexed properties annotated with {{useInSuggest}}. The implementation then tries to find a document which has this phrase (currently searched using full text search) and is readable by the user.
> In case, no such document result, then the suggestions don't show up in end result even though the documents from which these suggestions were generated were indeed readable by end-user.



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