You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the min_score is a top-level argument in the body, to inject your keys into the body you can use the extra method. so in this case: s = Search().query().extra(min_score=4.0)
This doesn't work when doing a count() as the extra data is ignored, meaning the search() produces a different number of results to that given by the count.
Documents are here: min_score
I found that neither
q = Q('query_string', query=str_query, min_score=4.0)
norSearch().query(q, min_score=4.0)
would work.And, if it isn't going to be supported by elasticsearch-dsl, is there any way to filter result by score?
The text was updated successfully, but these errors were encountered: