In an earlier post, How to Build an Autocomplete Feature with Elasticsearch, we showed how to build a basic autocomplete that looks for all documents in the index. This feature is good for the generic autocomplete feature, but it is not enough if your index has a lot of product categories, for example. Therefore, in this post we’ll explore context-based autocompletion, which will help you implement intelligent filtering based on categories and geo points. Let’s get started!

Keep reading

The Suggest API is one of the most developed APIs in Elasticsearch. It is extensively used in search solutions which tremendously improve user experience. Ranging from normal autocomplete to context based suggestions, this API has many interesting use cases, which we are going to explore. In this tutorial, we are going to show how to implement a simple autocomplete with Elasticsearch.

Keep reading

After answering a question about autocomplete on StackOverflow, we thought it best to come over to the Qbox blog and write more extensively about the different ways of approaching autocomplete.

In this article, we include an example of how to get autocomplete up and running quickly in Elasticsearch with the Completion Suggest feature. We don’t intend for this to be a complete treatment of the topic, but we do aim to give you enough information to get going as painlessly as possible.

Keep reading