OpenSearch/modules
Tanguy Leroux 3553522328 Add parameter to prefix aggs name with type in search responses (#22965)
This pull request adds a new parameter to the REST Search API named `typed_keys`. When set to true, the aggregation names in the search response will be prefixed with a prefix that reflects the internal type of the aggregation.

Here is a simple example:
```
GET /_search?typed_keys
{
    "aggs": {
        "tweets_per_user": {
            "terms": {
                "field": "user"
            }
        }
    },
    "size": 0
}
```

And the response:

```
{
    "aggs": {
        "sterms:tweets_per_user": {
            ...
        }
    }
}
```

This parameter is intended to make life easier for REST clients that could parse back the prefix and could detect the type of the aggregation to parse. It could also be implemented for suggesters.
2017-02-09 11:19:04 +01:00
..
aggs-matrix-stats Upgrade checkstyle to version 7.5 2017-02-03 09:46:44 -05:00
ingest-common Upgrade checkstyle to version 7.5 2017-02-03 09:46:44 -05:00
lang-expression Remove GeoPointFieldMapper abstraction 2017-02-06 14:17:21 -06:00
lang-mustache Add parameter to prefix aggs name with type in search responses (#22965) 2017-02-09 11:19:04 +01:00
lang-painless Make dates be ReadableDateTimes in scripts (#22948) 2017-02-06 16:44:56 -05:00
percolator Fold InternalSearchHits and friends into their interfaces (#23042) 2017-02-08 14:40:08 +01:00
reindex Fold InternalSearchHits and friends into their interfaces (#23042) 2017-02-08 14:40:08 +01:00
repository-url Fold InternalSearchHits and friends into their interfaces (#23042) 2017-02-08 14:40:08 +01:00
transport-netty4 Upgrade to Netty 4.1.8 (#23055) 2017-02-08 11:44:36 -06:00
build.gradle Build: Change `gradle run` to use zip distribution (#21001) 2016-10-18 11:48:58 -07:00