public class SortedSetDocValuesFacetFields extends FacetFields
SortedSetDocValuesAccumulator to count facets
at search time. Note that this only supports flat
facets (dimension + label). Add multiple instances of
this to your document, one per dimension + label, and
it's fine if a given dimension is multi-valued.indexingParams, taxonomyWriter| Constructor and Description |
|---|
SortedSetDocValuesFacetFields()
Create a
SortedSetDocValuesFacetField with the
provided CategoryPath. |
SortedSetDocValuesFacetFields(FacetIndexingParams fip)
Create a
SortedSetDocValuesFacetField with the
provided CategoryPath, and custom FacetIndexingParams. |
| Modifier and Type | Method and Description |
|---|---|
void |
addFields(Document doc,
Iterable<CategoryPath> categories)
Adds the needed facet fields to the document.
|
addCountingListData, createCategoryListMapping, drillDownFieldType, getCategoryListData, getDrillDownStreampublic SortedSetDocValuesFacetFields()
SortedSetDocValuesFacetField with the
provided CategoryPath.public SortedSetDocValuesFacetFields(FacetIndexingParams fip)
SortedSetDocValuesFacetField with the
provided CategoryPath, and custom FacetIndexingParams.public void addFields(Document doc, Iterable<CategoryPath> categories) throws IOException
FacetFieldsaddFields in class FacetFieldsIOExceptionCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.