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
More like this on ebay

More Like This query (MLT) – Suggest similar content with Elasticsearch

TL:DR With the More Like This query, Elasticsearch gives an easy and powerful way to find contents similar to what your users are currently watching.  It’s a key point to improve your retention, and your ROI  More Like This Query : Suggest related content Any company that edits a website, or any content centred tool has one only goal: Improve Transformation.It can be a contact form, a newsletter subscription, an online purchase, a click on an advert or simply finding…

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.