SquareShift blog

Practical thinking for teams building with data, cloud, and AI.

Technical notes, architecture choices, and implementation lessons from work in production.

192 articlesOrganised by the systems and decisions our teams work with most often.

Latest

The most recent work.

How to use this library

Start with the decision, not the technology.

Use the subject filters to find implementation notes, platform guidance, and practical examples. Each article sets out a specific problem or approach.

Talk to our team
uncategorized4 min read

Elasticsearch Query Optimisation for Relevant Search Results

Elasticsearch, as the name suggests, is primarily used for its fast search capabilities. But have you ever wondered how scoring happens in the background and why certain documents are given more scoring compared to the rest? In this two-part series, we will be focusing on how to write simple to complex search queries followed by which we will be explaining the calculations that happen under the hood using the explain API.

Read article