minor changes

This commit is contained in:
ashwinkumar12345 2021-08-16 11:00:48 -07:00
parent 6ebe39307e
commit d90d9859a2
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ nav_order: 140
Introduced 1.0
{: .label .label-purple }
Wondering why a specific document matches (or doesnt match) a query? You can use the explain API for an explanation of how the relevance score (`_score`) is calculated for every result.
Wondering why a specific document ranks higher (or lower) for a query? You can use the explain API for an explanation of how the relevance score (`_score`) is calculated for every result.
OpenSearch uses a probabilistic ranking framework called [Okapi BM25](https://en.wikipedia.org/wiki/Okapi_BM25) to calculate relevance scores. Okapi BM25 is based on the original [TF/IDF](http://lucene.apache.org/core/4_0_0/core/org/apache/lucene/search/package-summary.html#scoring) framework used by Apache Lucene.