what is the best way to achieve autocomplete with elasticsearch,
Note: my documents are indexed from fsriver...
I want when the user types a word into the search bar, for example "app",
elasticsearch returns all possibilty that exist in the content of documents
exp: application, applicate ...
But, you should be aware of the memory usage in that case. Doing facets on fields like comments or files that have a hug number of different values could require lot of memory.
It really depends on what you want to display to your user: filename or word. For filename, you don't need to build facets.
what is the best way to achieve autocomplete with elasticsearch,
Note: my documents are indexed from fsriver...
I want when the user types a word into the search bar, for example "app", elasticsearch returns all possibilty that exist in the content of documents exp: application, applicate ...
I want the autocomplete on keywords that exist in the content of document
(field content).
but requires a lot of memory, so the best way to do this is to use
EdgeNgram analyzer and facets is its?
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.