I recently migrated to Elasticsearch 7.0 and currently using RestHighLevelClient. I noticed my search response, specifically the aggregation response has some added prefixes on the aggregation name (filters#. sterm, min, max.
The additional filters or sterms are the type of aggregation results, that depend on the type of aggregation defined in the request.
By default Elasticsearch will just return the aggregation name. However RestHighLevelClient needs to know the result type to deserialize it and adds the typed_keys=true parameter to search requests to this effect.
So you don't have anything to do as RestHighLevelClient automatically adds this request parameter.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.