Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Search: Allow to filter out docs based on a minimum score #719

kimchy opened this Issue · 4 comments

3 participants


Allow to filter docs based on a minimum score, for example:

    "min_score": 0.5,
    "query" : {
        "term" : { "user" : "kimchy" }

Search: Allow to filter out docs based on a minimum score, closed by 8a03ca1.


Does it work against the relative document score value only? How about filtering documents based on percentiles of the max score? For example filtering out documents having score below 70% of max score value?


Nope, you can't really do that based on percentage since you don't know the max score before a full pass has been done over the hits. I guess we can execute the query twice, but its wasteful.


Does this work with More Like This? I tried it in the GET request body as well as the query string.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.