As I explained here: https://github.com/elastic/elasticsearch/issues/22137
I would like to implement a simple autocomplete; user starts typing, the index is consulted and similar keywords are returned. E.g. auth -> authorization, authentication.
I found the Completion Suggester way: https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-completion.html
However, that seems too complicated, I'm thinking there must be some other way.
And also, I don't seem to understand the completion suggester properly. I have to do that mapping and then I have to provide suggestions?! How does that work? I see the "Index" section of the article where apparently I have to provide options... for what words - how could any setting of mine ever cover all that a user could type? I don't get it.
On the other hand, word correction which is clearly a more difficult thing to implement, can be done out of the box with a simple Suggester query. It seems ridiculous that autocomplete cannot come out of the box as well...
Any help would be appreciated.