Removing some redundant date in facets responses

Hi,

Currently, facets return some redundant data in their response, for
example, the fields the facet was executed on, and other parameters provided
depending on the facet used (interval, for example, with histogram facet). I
would like to remove this data, and basically, not repeat in the facets
response data that was provided already in the facet request. This is a
breaking change, so shout if you think it does not make sense...

cheers,
-shay.banon

The one piece of info that I find useful is the facet name that comes
back allowing me to map the response back to the request, which in the
facet examples on this page:
http://www.elasticsearch.com/docs/elasticsearch/rest_api/search/facets/

Would be "wow_facet".

Thanks!

On Jan 2, 2:59 pm, Shay Banon shay.ba...@elasticsearch.com wrote:

Hi,

Currently, facets return some redundant data in their response, for
example, the fields the facet was executed on, and other parameters provided
depending on the facet used (interval, for example, with histogram facet). I
would like to remove this data, and basically, not repeat in the facets
response data that was provided already in the facet request. This is a
breaking change, so shout if you think it does not make sense...

cheers,
-shay.banon

Yea, that one will definitely stay to allow you to match on it. The question
was the the rest (_field, _key_field). Basically, all the values passed for
the facet request except for the facet name and type (which will still be
returned).

On Mon, Jan 3, 2011 at 6:58 PM, Paul ppearcy@gmail.com wrote:

The one piece of info that I find useful is the facet name that comes
back allowing me to map the response back to the request, which in the
facet examples on this page:
http://www.elasticsearch.com/docs/elasticsearch/rest_api/search/facets/

Would be "wow_facet".

Thanks!

On Jan 2, 2:59 pm, Shay Banon shay.ba...@elasticsearch.com wrote:

Hi,

Currently, facets return some redundant data in their response, for
example, the fields the facet was executed on, and other parameters
provided
depending on the facet used (interval, for example, with histogram
facet). I
would like to remove this data, and basically, not repeat in the facets
response data that was provided already in the facet request. This is a
breaking change, so shout if you think it does not make sense...

cheers,
-shay.banon