The Open API specification for Synapse is now available for download!

Download Open API Spec

Rescore

org.sagebionetworks.repo.model.search.dsl.Rescore

A rescore stage. Re-ranks the top window_size hits from the main query using a secondary scoring query. A single stage is supported.

Field Type Description
window_size INTEGER Optional. Number of top hits per shard that are re-scored. Capped server-side.
query RescoreQuery The secondary-scoring portion of a rescore stage: a query whose score is blended with the original score.