Package org.apache.lucene.facet
Class FacetsConfig.DimConfig
- java.lang.Object
-
- org.apache.lucene.facet.FacetsConfig.DimConfig
-
- Enclosing class:
- FacetsConfig
public static final class FacetsConfig.DimConfig extends Object
Holds the configuration for one dimension- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Field Summary
Fields Modifier and Type Field Description booleanhierarchicalTrue if this dimension is hierarchical.StringindexFieldNameActual field where this dimension's facet labels should be indexedbooleanmultiValuedTrue if this dimension is multi-valued.booleanrequireDimCountTrue if the count/aggregate for the entire dimension is required, which is unusual (default is false).booleanrequireDimensionDrillDownTrue if drilling down by a whole dimension, to match all documents that had any value for this dimension, is necessary (default is true)
-
Constructor Summary
Constructors Constructor Description DimConfig()Default constructor.
-
-
-
Field Detail
-
hierarchical
public boolean hierarchical
True if this dimension is hierarchical.
-
multiValued
public boolean multiValued
True if this dimension is multi-valued.
-
requireDimCount
public boolean requireDimCount
True if the count/aggregate for the entire dimension is required, which is unusual (default is false).
-
requireDimensionDrillDown
public boolean requireDimensionDrillDown
True if drilling down by a whole dimension, to match all documents that had any value for this dimension, is necessary (default is true)
-
indexFieldName
public String indexFieldName
Actual field where this dimension's facet labels should be indexed
-
-