Dear Ivan thank you very much for your fast and helpful response. I will create some demo data and play with your snippet.
I really appreciate your help! btw... I think my scenario is a very standard scenario for working with facets -- e.g. every online shop is working in this fashion with facets. kind regards Volker Am Montag, 30. Dezember 2013 18:36:31 UTC+1 schrieb Ivan Brusic: > > After reading your scenario again, I have modified slightly my suggestion. > You would still need to use a post filter since the facets need to work on > set of documents that is greater than the set returned. You can apply the > same post filter as a facet filter on the facet you want to reduce. Here is > an example: > > https://gist.github.com/brusic/8185134 > > -- > Ivan > > -- 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/18a41661-021b-4833-86f1-423223da7a20%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.