Boosting and Relevancy Scoring
Learn techniques to influence the relevancy score of documents using query boosting, field boosting, and custom scoring functions.
Why Relevancy Matters
When you search for something, you don't just want any results; you want the best results. This is where relevancy comes in!
Relevancy helps search engines, like Elasticsearch, decide which documents are most important or 'relevant' to your query and present them first.
Meet the _score
In Elasticsearch, every document that matches your search query gets a numeric value called the _score. This score represents how relevant that document is to your query.
- A higher
_scoremeans the document is considered more relevant. - Elasticsearch uses algorithms (like BM25) to calculate this score, considering factors like how often a term appears and its uniqueness.
All lessons in this course
- Analyzers, Tokenizers, Filters
- Customizing Text Analyzers
- Boosting and Relevancy Scoring
- Synonyms and Stemming