I'm quite lost in Elasticsearch (and maybe Lucene...).
For the moment I'm trying to do a simple auto suggestion system for a
search engine.
My documents contain many "sentences" fields (around 4). What I would
like is to return result only concerning the word token found.
For the moment I'm playing with nGram and EdgeNGram, the result I expect
is good, but I just want the concerning word, not the whole field.
For example:
mydocument:
field1: "thank you for your answer, it will help me"
field2: "this is only an example content"
my entry is : "answ", I just want to get "answer"
...
(also no expert here) but I think it's quite normal that the whole field is
returned. Have you considered maybe having a "common search terms" index,
with one-word-per-field, updated from data taken from other indices? That
would appear to make more sense.
I'm quite lost in Elasticsearch (and maybe Lucene...).
For the moment I'm trying to do a simple auto suggestion system for a
search engine.
My documents contain many "sentences" fields (around 4). What I would like
is to return result only concerning the word token found.
For the moment I'm playing with nGram and EdgeNGram, the result I expect is
good, but I just want the concerning word, not the whole field.
For example:
mydocument:
field1: "thank you for your answer, it will help me"
field2: "this is only an example content"
my entry is : "answ", I just want to get "answer"
...
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.