I believe that you need to look at 'nested objects' (aka parent / child)
for your 'tags'. I have not used it myself yet so I am not 100% sure it
will provide all the faceting capabilities you need (but I think they
should).
Yea, nested is the way to go, so each element in the array will be treated as its own "document". Parent/Child is a different feature :).
On Sunday, February 5, 2012 at 12:24 PM, Jan Fiedler wrote:
I believe that you need to look at 'nested objects' (aka parent / child) for your 'tags'. I have not used it myself yet so I am not 100% sure it will provide all the faceting capabilities you need (but I think they should).
Hi Nick,
I have the same problem but still didnt find the solution.
What I did is to index the field as type "nested" and afterwards I applied the script to the facets (basically the same script as you posted).
The problem is that I still do not receive the filtered facets (I get all the facets like if the field would be not nested)
How did you solve the problem?
On Thursday, 3 May 2012 05:53:06 UTC-4, jp50045 wrote:
Hi Nick,
I have the same problem but still didnt find the solution.
What I did is to index the field as type "nested" and afterwards I applied
the script to the facets (basically the same script as you posted).
The problem is that I still do not receive the filtered facets (I get all
the facets like if the field would be not nested)
How did you solve the problem?
Actually, I haven't solved it yet. We delayed the feature that caused me to
look into this.
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.