Term Suggester Usage


(Klaus Stadler) #1

Hello,

is it correct that Term Suggester is what is closes to Google style
autocompletion?
If so, how do you use the term suggester?
Unfortunately, I can't find any examples in the ES documentation.

--
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/d2bc5e70-37e9-41e6-bc30-bf77ae2ee4b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Alexander Reelsen) #2

Hey,

the term suggester takes a query like "search is awesome" and returns
suggestions for each of the terms, so three different suggestions are
returned here. You maybe want to take a look at the completion suggester,
see


http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-completion.html

--Alex

On Tue, Jun 3, 2014 at 11:13 AM, Klaus Stadler <
klaus.stadler@united-internet-media.de> wrote:

Hello,

is it correct that Term Suggester is what is closes to Google style
autocompletion?
If so, how do you use the term suggester?
Unfortunately, I can't find any examples in the ES documentation.

--
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/d2bc5e70-37e9-41e6-bc30-bf77ae2ee4b9%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/d2bc5e70-37e9-41e6-bc30-bf77ae2ee4b9%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/CAGCwEM8YvrnBkXBbbLnvGgJ9qDxno17XaxQ-LBFH1cZ5g_BkYw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Klaus Stadler) #3

Hi Alex,

thanks for the clarification about the term suggester.
That leaves either the phrase suggester or autocomplete suggester.
The field I want to find suggestions for usually has a lot of words.
So I'd prefer to complete only the current word, not the whole content of
the field.
Is this possible with the autocomplete suggester?

Which analyzers are best suited for this use case?

-- Klaus

Am Montag, 16. Juni 2014 13:45:56 UTC+2 schrieb Alexander Reelsen:

Hey,

the term suggester takes a query like "search is awesome" and returns
suggestions for each of the terms, so three different suggestions are
returned here. You maybe want to take a look at the completion suggester,
see

http://www.elasticsearch.org/blog/you-complete-me/

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-suggesters-completion.html

--Alex

On Tue, Jun 3, 2014 at 11:13 AM, Klaus Stadler <
klaus....@united-internet-media.de <javascript:>> wrote:

Hello,

is it correct that Term Suggester is what is closes to Google style
autocompletion?
If so, how do you use the term suggester?
Unfortunately, I can't find any examples in the ES documentation.

--
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 elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/d2bc5e70-37e9-41e6-bc30-bf77ae2ee4b9%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/d2bc5e70-37e9-41e6-bc30-bf77ae2ee4b9%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/ab937435-0785-40bb-ac1e-32546cd807bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4