a45de8a96b
This adds support for "collapsed" named object to `ObjectParser`. In particular, this supports the sort of xcontent that we use to specify significance heuristics. See #25519 and this example: ``` GET /_search { "query" : { "terms" : {"force" : [ "British Transport Police" ]} }, "aggregations" : { "significant_crime_types" : { "significant_terms" : { "field" : "crime_type", "mutual_information" : { <<------- This is the name "include_negatives": true } } } } } ``` I believe there are a couple of things that work this way. I've held off on moving the actual parsing of the significant heuristics to this code to keep the review more compact. The moving is pretty mechanical stuff in the aggs framework. |
||
---|---|---|
.. | ||
licenses | ||
src | ||
build.gradle |