Hi, I'm using the completion suggester for an autocomplete API. I need it
to autocomplete on middle words, so for example "Siberian Tiger" should be
a suggestion for "tig". To accomplish that, following the documentation,
what I do is to use multiple inputs for each term, so I index "Siberian",
"Tiger" and also "Siberian Tiger" (so I get the result if the term is
"siberian tig").
Now, what doesn't work entirely for me in this case is the result ordering
I get. Assuming equal weights, for "tig" It is something like:
could you possible use different weights to have your custom scoring? That
might be possible when you are using an own index for suggestions, so you
could have more inputs.
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.