You would probably need to implement a custom facet to support your
request. Identical to a terms facet, but all the values after the first
will be disregarded.
thank you for your reply, I suspected something like this.
Best regards,
Daniel
Am Mittwoch, 21. August 2013 23:09:08 UTC+2 schrieb Ivan Brusic:
You would probably need to implement a custom facet to support your
request. Identical to a terms facet, but all the values after the first
will be disregarded.
I was hoping someone else would have a suggestion, but I think that might
be your best bet.
I needed something similar, but I was waiting for the facet framework
refactor to occur before creating another facet type (lots of boilerplate
code is involved). The facet refactor is actually a whole new aggregation
framework which has been detailed but not yet released: Aggregation Module - Phase 1 - Functional Design · Issue #3300 · elastic/elasticsearch · GitHub. Part of what
you are looking for is field collapsing, which is not implement in
elasticsearch. The new aggregation framework does not seem to address it
either.
thank you for your reply, I suspected something like this.
Best regards,
Daniel
Am Mittwoch, 21. August 2013 23:09:08 UTC+2 schrieb Ivan Brusic:
You would probably need to implement a custom facet to support your
request. Identical to a terms facet, but all the values after the first
will be disregarded.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.