You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A custom_filters_score query allows to execute a query, and if the hit matches a provided filter (ordered), use the script associated with it to compute the score. Here is an example:
This can considerably simplify and increase performance for parameterized based scoring since filters are easily cached for faster performance, and the script is considerably simpler.
The query allows (on the same level as query and filters) to provide boost, and the common scripting elements params and lang.
The text was updated successfully, but these errors were encountered:
A
custom_filters_score
query allows to execute a query, and if the hit matches a provided filter (ordered), use the script associated with it to compute the score. Here is an example:This can considerably simplify and increase performance for parameterized based scoring since filters are easily cached for faster performance, and the script is considerably simpler.
The query allows (on the same level as
query
andfilters
) to provideboost
, and the common scripting elementsparams
andlang
.The text was updated successfully, but these errors were encountered: