Tommaso Teofili created OAK-3594:
------------------------------------

             Summary: Consider using LuceneDictionary in suggester
                 Key: OAK-3594
                 URL: https://issues.apache.org/jira/browse/OAK-3594
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: lucene
            Reporter: Tommaso Teofili
            Assignee: Tommaso Teofili
             Fix For: 1.4


Currently Lucene suggester is based on {{DocumentDictionary}} which builds 
suggestions upon stored values of a certain field (in this case _:suggest_), 
however it may be better to stick to plain indexed terms via a 
{{LuceneDictionary}} as this would allow to save some space in the index 
(:suggest field wouldn't have to be stored) and we can leverage per index 
(configurable) analyzer in order to tweak how suggestions will be returned: 
using a _KeywordAnalyzer_ would result in same behaviour we currently have, 
using a tokenizing Analyzer will result in term level suggestions (tokens 
instead of field values).



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

Reply via email to