The raw score returned by Elasticsearch represents a relevance score assigned to each document in response to a specific query. This score is calculated using a ranking algorithm.
Key points:
- The score is relative to the specific query.
- It is not normalized โ thereโs no fixed upper or lower limit.
- A higher score means higher relevance (according to Elasticsearch) for that query.
Example:
If match A has a raw score of 1212
and match B has 755
, Elasticsearch considers A more relevant than B.
โ ๏ธ Important :
- Raw scores cannot be compared across different queries.
- They are only meaningful for ranking results within a single query.