Can you elaborate more on what you are after?
On Wed, Aug 13, 2014 at 5:16 PM, project2501 <darreng5...@gmail.com> wrote: > The old facet DSL was very nice and easy to understand. I could declare > only which fields I wanted returned. > > how is this done with aggregations? The docs do not say. > > I am only interested in the aggregation metrics not all the document > results. > > I tried setting "size":0 but that DOES NOT EVEN WORK. > > Any help appreciated. > > Thank you, > D > > -- > 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/2c845104-59c0-4ea4-90a6-551a93dc3f99%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/2c845104-59c0-4ea4-90a6-551a93dc3f99%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Adrien Grand -- 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/CAL6Z4j4m%3DLXao3%3Df%2BgV5uMXO_nLhLq-7fe-JcCh1oKhp2f8jYg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.