Getting the document associated with the CompletionSuggestion.Entry.Option


(Barak Yaish) #1

Hi,

When getting suggests upon SuggestRequest, is the associated document (with
the type completion field) available in the SuggestReponse?

Thanks.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.


(Luca Cavanna) #2

Hi,
no it is not, but you can store a payload containing the id of the document
to go to when clicking on the suggestion for instance.
Have a look at this article
: http://www.elasticsearch.org/blog/you-complete-me/ , which describes how
to use the completion suggester.

Cheers
Luca

On Monday, October 28, 2013 9:02:49 AM UTC+1, barak wrote:

Hi,

When getting suggests upon SuggestRequest, is the associated document
(with the type completion field) available in the SuggestReponse?

Thanks.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3