OpenSearch/libs
Nik Everett a45de8a96b
x-content: Support collapsed named objects (#50564) (#50619)
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.
2020-01-03 14:47:42 -05:00
..
cli Refactor environment variable processing for Docker (#50221) 2019-12-16 15:39:28 +00:00
core correct licensing and incorporation of FastMath (#49122) (#49441) 2019-11-21 09:02:30 -08:00
dissect Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
geo Geo: Switch generated WKT to upper case (#50285) 2019-12-18 17:29:08 -05:00
grok Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
nio Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
plugin-classloader [Backport] Replace usages RandomizedTestingTask with built-in Gradle Test (#40978) (#40993) 2019-04-09 11:52:50 -07:00
secure-sm Add SecureSM support for newer IDEA versions (#49747) 2019-12-04 13:50:06 +01:00
ssl-config Improved diagnostics for TLS trust failures (#49669) 2019-11-29 15:01:20 +11:00
x-content x-content: Support collapsed named objects (#50564) (#50619) 2020-01-03 14:47:42 -05:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00