I'm using latest pyes (v0.19) and elasticsearch (v0.19.4). Pyes seems
always adding "minimum_number_should_match" parameter to the "should"
This works just fine:
q1 = pyes.BoolQuery()
But if I put it into a filter, it breaks.
q2 = pyes.FilteredQuery(pyes.MatchAllQuery(), q1)
QueryParsingException[[...] [bool] filter does not support
I don't remember this was a problem before I upgraded Elasticsearch
(probably was 0.18.x)? Any reason why Bool filter does not support
"minimum_number_should_match"? Or maybe pyes should remove it from Bool