RescoreQuery
org.sagebionetworks.repo.model.search.dsl.RescoreQuery
The secondary-scoring portion of a rescore stage: a query whose score is blended with the original score.
| Field | Type | Description |
|---|---|---|
| rescore_query | Query | A single OpenSearch query DSL clause. Exactly one of the properties below may be set — the set property names the clause kind. See query vs. filter context and term-level vs. full-text queries. The field-keyed leaf clauses ( |
| query_weight | NUMBER | Optional. Weight applied to the original query score. Default 1.0. |
| rescore_query_weight | NUMBER | Optional. Weight applied to the rescore-query score. Default 1.0. |
| score_mode | STRING | Optional. How the two scores combine: total (default), multiply, avg, max, or min. |