Good search is a flexible concept
Elasticsearch makes searching faster and better, but not only that!
"Anyone who sets up a date on Tinder, then takes an Uber to his or her 'Netflix & Chill date', and has first selected the best series and movies of the moment on Volkskrant.nl, has already used Elastic's search engine four times," - J. Witteman. Curious about what Elasticsearch is and how to use it for your website? Then read on!
What is Elasticsearch?
Elasticsearch is an open source software from the company Elastic, which intelligently indexes large amounts of data, after which it is quickly searched, analysed and displayed. This open source tool based on full-text search makes the implementation of the search functionality easier, more efficient and scalable. You can also enrich the indexed data with data from other sources. Elasticsearch has been active since 2010 and was co-developed in Amsterdam.
The five benefits of Elasticsearch
- Faster and scalable content presentation.
- More relevant search results in your search engine.
- Offer search results based on relevance. This is useful for intelligent product suggestions on webshops.
- Take into account typos, stop words, synonyms, and auto-complete.
- Index different types of data, even PDFs.
How does Elasticsearch work?
You can install the Elastic Server on your website. An index of your (web) database is then created on your server. An index is a large text file with all relevant data. With the help of an index, you can search data in a database faster. This is certainly the case with larger databases of news articles, performances, or products. The index ensures that the content and location of your records is (periodically) recorded based on the fields that are relevant to you. The next time a visitor to your site requests this information, the Elastic index will be able to find it immediately. Extracting information from Elasticsearch is therefore many times faster than filtering directly from the database every time.
Elasticsearch in practice
Calendar & Filtering
For example, we have integrated Elasticsearch into the new platform of the cultural institutions in Alkmaar, including Theater de Vest. For these sites, the performance lists are very important. The agenda, genre lists, and news itemsare linked to relevant information from planning and ticketing software with the help of Elastic. In addition, you can quickly filter by genre or search terms via the search engine and pages are quickly presented on the website. Furthermore, with the help of the index, an infinite scroll has been integrated on the agenda pages. As a result, new information is constantly added to the calendar as you scroll, instead of a pagination where you have to click on the next 10 performances.
Publication database
Another example where we have integrated Elasticsearch is the Netherlands Cancer Institute. The NKI website contains more than 6000 publications which are linked to the website via an external publication database. Here, too, the Elastic index file feeds the search function in the publications at lightning speed.
Who is Elasticsearch relevant for?
Elasticsearch is relevant for anyone with a website that has a lot of data and wants to filter, search and present it quickly. In addition, Elastic provides a buffer: the data is always stored on the server, even when the connection to the underlying database is delayed.
This tip is part of Basic Orange's series of practical online knowledge tips . Stay informed of all developments via our Facebook or LinkedIn channel.