WARNING: Version 5.x has passed its EOL date.
This documentation is no longer being maintained and may be removed. If you are running this version, we strongly advise you to upgrade. For the latest information, see the current release documentation.
Reserved aggregation names
editReserved aggregation names
editNEST uses a heuristics based parser to parse the aggregations back in to typed responses. Because of this, some of the key properties we use to make decisions about parsing are not allowed as key names for aggregations in a request.
Elasticsearch 5.x will at some point get a flag that returns the aggregations in a parsable fashion. when this happens, this limitation will be lifted but until that time, avoid the following names for aggregation keys:
new [] { "score", "value_as_string", "keys", "max_score" }