Everything works fine except for 1 experience issue. That is for example if
I search for xbox 360, xbox one is also considered a relevant suggestion. I
would prefer if the autocomplete terms returned only contained the previous
characters entered for the search. For example xbox 360 xbox 360 controller
etc. The index contains a list of search terms.
Can anyone suggest ways of doing this? Very unfamiliar with the ES API.
can you create a gist as an example, how you are indexing your data? My
assumption is, that you may want to use the whitespace analyzer instead of
the simple analyzer, as that one removes numbers. So your query "xbox 360"
becomes "xbox" and therefore "xbox one" is returned as well.
Everything works fine except for 1 experience issue. That is for example
if I search for xbox 360, xbox one is also considered a relevant
suggestion. I would prefer if the autocomplete terms returned only
contained the previous characters entered for the search. For example xbox
360 xbox 360 controller etc. The index contains a list of search terms.
Can anyone suggest ways of doing this? Very unfamiliar with the ES API.
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.