On Tue, Apr 23, 2013 at 4:09 PM, David Pilato david@pilato.fr wrote:
A TermsFacet counts the number of docs, not the number of terms per doc or
field.
Ok, so I started again in a different index with the mapping set to nested:
"properties" : {
"bought_together" : {
"type" : "nested"
}
}
So I've effectively changed the mapping from:
to
Now that its indexing it as a nested document, I would expect the term
facet count to function so once again I run:
But there is still some gap in my understanding because I don't get any
results:
facets: {
tag: {
_type: terms
missing: 1
total: 0
other: 0
terms: [ ]
}
}
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.