Boost your fields for better relevance with Elaticsearch

Boost field weight in Elasticsearch – Influence Elasticsearch Scoring – Part 2

In the previous articles about scoring, and boolean queries Spoon Consulting saw how the scoring of Elasticsearch works by default and how to tweak your query to influence it.  In the article below, we will study how we can add different weights to different fields, and the different “boost” behaviors.  TL:DR Terms can be reused to “boost” better results – in part 1 Filter can be used to scope a query without influencing the score – in part 1 Mix…

0
Read More
Paginate aggregation with Elasticsearch

Paginating term aggregation

In Elasticsearch, paginating aggregations results is a recurring need.By default, Elastic will send all results in your aggregation. If a query filter is often enough, it’s not always the wanted behavior.  First possibility, increase a lot the size parameter and do the pagination on front side.It can be a good solution… for few hundred results, and a low cardinality.  But if we don’t want to crash our app, we probably can do better.  Depending on your specific use case you will…

0
Read More
Contact us
Spoon Consulting 
Spaces Bonne Nouvelle
17 rue Saint-Fiacre
75002 Paris

Contact the Spoon Consulting expert team

Spoon Consulting
Elastic Spoon is part of the spoon consulting Team.
Visit our website to know more about us.