Can PhraseSuggester search distant words?

Hi,

Say I've the following text: "A keyboard and a mouse went to a bar", and
the user search for "keyboard mouse". Can the PhraseSuggester locate that
text? I know I can use the completion suggester and index the document with
multiple inputs, but then I have to figure out all the permutations of the
words in the text. I was wonder whether PhraseSuggester may be used for
that purpose, but some tests I ran failed to find the text. Is it not the
correct tool, or perhaps I missed some config?

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.

if you drop stopwords in your tokenizer that would work others that that it
can but not necessarily score it high.

simon

On Monday, October 14, 2013 4:23:11 PM UTC+2, barak wrote:

Hi,

Say I've the following text: "A keyboard and a mouse went to a bar", and
the user search for "keyboard mouse". Can the PhraseSuggester locate that
text? I know I can use the completion suggester and index the document with
multiple inputs, but then I have to figure out all the permutations of the
words in the text. I was wonder whether PhraseSuggester may be used for
that purpose, but some tests I ran failed to find the text. Is it not the
correct tool, or perhaps I missed some config?

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.

Hi,

If you are willing to index that text as ngrams your example query will
match it.

Otis

ELASTICSEARCH Performance Monitoring - Sematext Monitoring | Infrastructure Monitoring Service
Search Analytics - Cloud Monitoring Tools & Services | Sematext

On Monday, October 14, 2013 10:23:11 AM UTC-4, barak wrote:

Hi,

Say I've the following text: "A keyboard and a mouse went to a bar", and
the user search for "keyboard mouse". Can the PhraseSuggester locate that
text? I know I can use the completion suggester and index the document with
multiple inputs, but then I have to figure out all the permutations of the
words in the text. I was wonder whether PhraseSuggester may be used for
that purpose, but some tests I ran failed to find the text. Is it not the
correct tool, or perhaps I missed some config?

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.