Extension:CirrusSearch/Scoring

This page aims to provide some insights on the scoring functions and techniques used by CirrusSearch to rank search results.

Basics
Cirrus follows a very basic concept used by many search engines, a document score combines two types of sub-scores:
 * 1) A score that computes the similarity of the query with the document
 * 2) Scores that depend only on the document metadata (e.g recency, number of incoming links, language...)

Query Architecture
The whole purpose of CirrusSearch is to parse the user query into an ElasticSearch Query using the functionalities available in the ElasticSearch Query DSL. The generated query.