I have an index with text masses like:
"Hello I want to try autocomplete xxx yyy zzz"
Is it possible to get suggestions such that, if I type:
--------------------------------------------------------------------
| I typed | Suggestion |
====================================================================
| autocomplete x | autocomplete xxx |
--------------------------------------------------------------------
| auto | autocomplete |
--------------------------------------------------------------------
| Hello I want to try auto | Hello I want to try autocomplete. |
--------------------------------------------------------------------
So it suggests words based on what is actually after the first word, and won't suggest the words that are before the words I suggest either.
Using lucene 4.4