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

Vikas Saurabh updated OAK-3407:
-------------------------------
    Description: 
Currently, suggested phrases are fairly long. e.g. form {{SuggestTest}} with 
nodes containing {{in 2015 my fox is red, like mike's fox and john's fox}} and 
{{in 2015 a red fox is still a fox}} a suggest query for {{in 201}} the result 
would contain 2 suggestions (both the phrase independently).
We should probably allow passing suggestion field thorough analyzer so that 
word level suggestions are possible. Moreover, that would also for suggestion 
to be available from middle of phrases e.g. suggestions for {{ite}} should give 
suggestion as {{item}} which, in turn, can search documents containing {{this 
is the most important item in the whole agenda}}.

  was:
Currently, suggested phrases are fairly long. e.g. form {{SuggestTest}} with 
nodes containing {{in 2015 my fox is red, like mike's fox and john's fox}} and 
{{in 2015 a red fox is still a fox}} a suggest query for {{in 201}} the result 
would contain 2 suggestions (both the phrase independently).
It should be possible to configure suggest index such that we suggested phrases 
break earlier.


> Configuration to pass suggestion fields through analyzer
> --------------------------------------------------------
>
>                 Key: OAK-3407
>                 URL: https://issues.apache.org/jira/browse/OAK-3407
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: lucene
>            Reporter: Vikas Saurabh
>            Priority: Minor
>
> Currently, suggested phrases are fairly long. e.g. form {{SuggestTest}} with 
> nodes containing {{in 2015 my fox is red, like mike's fox and john's fox}} 
> and {{in 2015 a red fox is still a fox}} a suggest query for {{in 201}} the 
> result would contain 2 suggestions (both the phrase independently).
> We should probably allow passing suggestion field thorough analyzer so that 
> word level suggestions are possible. Moreover, that would also for suggestion 
> to be available from middle of phrases e.g. suggestions for {{ite}} should 
> give suggestion as {{item}} which, in turn, can search documents containing 
> {{this is the most important item in the whole agenda}}.



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

Reply via email to