Vikas Saurabh created OAK-4516:
----------------------------------

             Summary: Configurable option to lucene index defs to index 
original (unanalyzed value as well)
                 Key: OAK-4516
                 URL: https://issues.apache.org/jira/browse/OAK-4516
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: lucene
            Reporter: Vikas Saurabh
            Assignee: Vikas Saurabh
            Priority: Minor


It's sometimes useful to have original value being indexed to be stored as a 
term. One use-case could be like:
* consider a couple of values to be indexed as {{abc_def}}, {{abcdef}}
* On query, it seems reasonable to get both values for a query for {{abc*}}

Currently, the values would get indexed like:
* {{abc_def}} -> {{\[abc], \[def]}}
* {{abcdef}} -> {{\[abcdef]}}
So, the query {{abc*}} would only fetch {{abcdef}}



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

Reply via email to