I am currently playing with facets, and I am facing the following problems.
The documents I am indexing are products. They have different fields
(Title, id) and a list of attributes, defined in a nested field.
What I want to do, is to get a count of the different values I have within
"attributes". I can easily do it by specyfing the name of theses fields in
the facets by doing something like this :
But what i would actually like to do is a bit different. As I may not know
the fields within the "attributes" part, i would like to build my facets by
doing something like "Give me a count for all the fields within the
attribute field".
Is this somehow possible ?
I am currently playing with facets, and I am facing the following problems.
The documents I am indexing are products. They have different fields (Title, id) and a list of attributes, defined in a nested field.
What I want to do, is to get a count of the different values I have within "attributes". I can easily do it by specyfing the name of theses fields in the facets by doing something like this :
But what i would actually like to do is a bit different. As I may not know the fields within the "attributes" part, i would like to build my facets by doing something like "Give me a count for all the fields within the attribute field".
Is this somehow possible ?
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.