-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
:Search Relevance/RankingScoring, rescoring, rank evaluation.Scoring, rescoring, rank evaluation.>docsGeneral docs changesGeneral docs changesTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearch
Description
Regarding the similarity documentation, it is explained how we may use TFIDF or BM25 by including a "similarity" option when creating a field. However, this results in an error:
The [classic] similarity may not be used anymore. Please use the [BM25] similarity or build a custom [scripted] similarity instead.
This seems consistent with this old discussion:
Disallow the classic (TF-IDF) similarity on 6.0 indices.
Perhaps this other discussion finally offered an alternative:
Add a scripted similarity.
It seems like the documentation should be updated to reflect these changes. Thanks!
Metadata
Metadata
Assignees
Labels
:Search Relevance/RankingScoring, rescoring, rank evaluation.Scoring, rescoring, rank evaluation.>docsGeneral docs changesGeneral docs changesTeam:Search RelevanceMeta label for the Search Relevance team in ElasticsearchMeta label for the Search Relevance team in Elasticsearch