Hi James, This issue was brought up recently in the github issues list[1] and has been fixed[2]. It should be available in the version 1.3.0.
[1] https://github.com/elasticsearch/elasticsearch/issues/6655 [2] https://github.com/elasticsearch/elasticsearch/pull/6830 Regards, Colin On Friday, 1 August 2014 12:22:21 UTC+1, James Griffin wrote: > > Hi, > > We're performing some aggregations with size=0 on a lot of data, and I'm > looking to optimise the transfer over the wire. Our responses look like > this: > > "buckets": [ > > - { > - "key": 15, > - "key_as_string": "15", > - "doc_count": 8183 > }, > - { > - "key": 100, > - "key_as_string": "100", > - "doc_count": 4717 > }, > ... > > > Obviously, the key_as_string field is adding nothing in this instance. Is > there a way to ask for it to be excluded from the response? > > Cheers, > James > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/636f70bd-5f9b-4b9c-a280-f94afe2939f7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.