Facet on results of another facet

I have been trying to find a way to do this, and I am not sure if it is
possible.

Is it possible to do a facet on the results of another facet?
I would like to use a terms_stats facet but only return terms that have a
max and min that are different.

Example:

type: book:
{
"title" : string,
"store" : string,
"price" : float,
}

I want to find all the book titles that have multiple prices.

Thank you.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/978faf93-8aa0-467f-8ab3-78e056316b0f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Faceting facet results is possible with the aggregations framework :slight_smile:

For an introduction see

http://chrissimpson.co.uk/elasticsearch-aggregations-overview.html

Jörg

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKdsXoHyZVauNRugu85K9R3b2ChAU4EThUU0Q%2BTQnvdVTz%3DftQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

This is what I expected the answer to be. We will be looking into upgrading
to 1.0.0 soon and take advantage of aggregations.
Thank you!

Kevin

On Friday, January 17, 2014 1:06:32 PM UTC-8, Jörg Prante wrote:

Faceting facet results is possible with the aggregations framework :slight_smile:

For an introduction see

Elasticsearch Aggregations Overview | Chris Simpson - Software Developer

Jörg

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/05fc955b-4ab4-496a-afbc-935914baabf3%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.