Elastic Stack

Autocompletion for Public Transportation

June 8, 2019

In our previous articles, we introduce the techniques to create a suggestion for typeahead searches. In this article, we do an example of how to utilise it in public transportation. In Switzerland, Public Transportation is extraordinary. It is prevalent, the service and overall reliability are extraordinary. With public transportation in Switzerland, you can nearly arrive at any destination in Switzerland comfortably.

Read more

Autocomplete with Elasticsearch - Part 3: Completion Suggester

June 7, 2019

In the previous articles, we look into Prefix Queries and Edge NGram Tokenizer to generate search-as-you-type suggestions. Suggesters are an advanced solution in Elasticsearch to return similar looking terms based on your text input. Movie, song or job titles have a widely known or popular order. In this article, we are going to complete with a hands-on example.

Read more

Autocomplete with Elasticsearch - Part 2: Index-Time Search-as-You-Type

June 5, 2019

In the previous article, we look into the possibilities of prefix queries to create suggestions based on existing data to enhance the search experience. We experience how fast and straightforward it could help us in the beginning. We also learned that it has some drawbacks like latency and duplicates if the data-set grows more significant over time. In this article, we are going to overcome the problems with Edge NGram Tokenizer.

Read more
Older posts