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?
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?
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?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.