Hi,
I am a bit stuck with suggestions. I would like to suggest the next word,
and I would like the suggestion to occur even if the word the user provides
is in the middle of a field's value (and not just at the start). e.g.,
document containing
{ body: "nice quick bronw fox jumped over" }
quick --> quick brown
brown --> brown fox
quick bro --> quick brown
However, when I use "completion" suggester I am only offered completion
options if the search term is at the start of the field value - so "nice"
in this case.
Moreover I am offered the entire field value, but I would like only the
next word.
I followed the tutorial here
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-completion.html
.
I also experimented with the other suggestors but they were not suitable
- term: suggests single word. Does not suggest next word.
- phrase: suggest multiple words, but does not suggest next word
This seems an obvious use case for suggestors so I think I am missing
something fundamental here?
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/16d19ffd-986a-48f6-9c62-c6dcd47ba34a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.