Add new Script Score Query #31461
Labels
>enhancement
:Search Relevance/Ranking
Scoring, rescoring, rank evaluation.
Team:Search Relevance
Meta label for the Search Relevance team in Elasticsearch
Replace Function Score Query with a new Script Score Query that will compute custom score through painless scripting.
Tasks:
- addressed through Missing fields values unexpectedly return 0 in painless #29286 (PR submitted)
- java's Random method should be sufficient
- make random function that uses Lucene doc ids
- ScriptScoreBuilder#doToQuery - investigate if we can dd salt - IndexName/ShardID to context manually
- rational and sigmoid functions were added
- other functions can be implemented through Java's Math module
- later we will be able to drop "Math" prefix in Script context
Add normalization functions to the Script context- will not be implemented as the implementation can be very slow, and values can be normalized through log, rational, sigmoid and other functions
relates to #27588, #30303
The text was updated successfully, but these errors were encountered: