GET /indexes/:indexUid/searchGET /indexes/:indexUid/similarThe GET routes have an additionalrankingScoreThreshold url parameter. It is optional and defaults to null (no threshold). If provided, it must be a number between 0.0 and 1.0 inclusive.
POST /indexes/:indexUid/searchPOST /indexes/:indexUid/similarThe POST routes have an additional rankingScoreThreshold body parameter. It is optional and defaults to null (no threshold). If provided, it must be a number between 0.0 and 1.0 inclusive.
POST /multi-searchThe parameter can be added individually to each query in a multi-search request.
In both cases, when a rankingScoreThreshold is provided, the results of the search/similar request are modified in the following way:
_rankingScore is under the rankingScoreThreshold is returnedestimatedTotalHits, totalHits and the facet distribution.request without score threshold:
POST /indexes/movies/search
{
"q": "Badman dark returns 1",
"showRankingScore": true,
"limit": 5
}
results: