I am using Boolean query builder which when looking at the query being run has 'adjust_pure_negative' flag set to true when doing google searching the documentation for this flag doesn't come up. What exactly does 'adjust_pure_negative' signify?
Example using (ES 5.0 api):
final BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery();
boolQueryBuilder.must(QueryBuilders.termQuery("some-term", "some-val"));
System.out.println(boolQueryBuilder.buildAsBytes().utf8ToString());
Output:
{"bool":{"must":[{"term":{"some-term":{"value":"some-val","boost":1.0}}}],"disable_coord":false,"adjust_pure_negative":true,"boost":1.0}}