Lets say I have following strings indexed:
"My awesome pizza"
"My awesome beer"
"Heineken is awesome beer"
"I love pizza pepperoni"
"Where is my beer"
For input "My"
I want to suggest:
- My awesome
- My beer
For input "awesome"
I want to suggest:
- awesome pizza
- awesome beer
etc.
So I want to provide next words after user input... Also with some fuzziness (aEwsome) should be also supported.
Which suggesters/analyzers I should use? I tried Term and completion but it is not what I want (completion for example works only when search for start of the phrase - if I pass word that is in the middle of indexed string then it will not suggest it,)
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…