Query to get all records with top score

I have a match query which returns 10 documents.
6 having score "10.0" and 4 having having score "8.0".

Query:
I want to have an ability in same match query that should return all documents with top score only i.e. "10.0". All with score "8.0" should not be returned in the query.

Any suggestions ?

You can nest your original match query within a min_score query, specifying the minimum score that a document must have to be returned.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.