I found an example in the tests, if anyone else is looking for it and comes
across this post:
SuggestResponse suggestResponse =
client().prepareSuggest(INDEX).addSuggestion(
new
CompletionSuggestionBuilder("testSuggestions").field(FIELD).text("foo").size(10)
On Thursday, March 6, 2014 4:18:16 PM UTC, Dan wrote:
>
> I'm changing our current autocomplete implementation to use the new
> autocomplete suggester as below. Is there a Java API available to send the
> suggest search request to ElasticSearch?
>
> http://www.elasticsearch.org/blog/you-complete-me/
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/e0e3fca2-cb22-4653-8f39-7636b2379bdc%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.