jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikas Saurabh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-3157) Lucene suggestions don't work if suggested phrases don't return documents on :fulltext search
Date Wed, 29 Jul 2015 09:10:05 GMT

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

Vikas Saurabh updated OAK-3157:
-------------------------------
    Attachment: LuceneIndexSuggestionTest.java

Attaching [^LuceneIndexSuggestionTest.java]. {{testSuggestQuery}} test is for verifying this
issue.

> 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
>         Attachments: LuceneIndexSuggestionTest.java
>
>
> 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)

Mime
View raw message