Search code examples
elasticsearchaliascompletion

How to implement completion prefix suggestion per aliases in elasticsearch


I cannot make complete suggester as described here:

https://github.com/elasticsearch/elasticsearch/issues/3376

to work for aliases. Always get global index answers.

Can I filter suggestions for aliases in any way?


Solution

  • You know suggester is an experimental feature with quite a few limitations. I followed this article http://blog.qbox.io/multi-field-partial-word-autocomplete-in-elasticsearch-using-ngrams.