Package org.apache.lucene.facet
Enum FacetsConfig.DrillDownTermsIndexing
java.lang.Object
java.lang.Enum<FacetsConfig.DrillDownTermsIndexing>
org.apache.lucene.facet.FacetsConfig.DrillDownTermsIndexing
- All Implemented Interfaces:
Serializable
,Comparable<FacetsConfig.DrillDownTermsIndexing>
- Enclosing class:
FacetsConfig
public static enum FacetsConfig.DrillDownTermsIndexing
extends Enum<FacetsConfig.DrillDownTermsIndexing>
Drill down terms indexing option to control whether dimension and sub-path terms should be
indexed.
-
Enum Constant Summary
Enum ConstantDescriptionIndex dimension, sub-path and full-path drill down terms.Index sub-path and full-path drill down terms.Index dimension and full-path drill down terms.Index only full-path drill down terms.Index no drill down terms. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static FacetsConfig.DrillDownTermsIndexing[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NONE
Index no drill down terms. e.g. for FacetField("a", "foo/bar/baz"), we would index no drill down terms at all (not even full-path drill down term). -
FULL_PATH_ONLY
Index only full-path drill down terms. No dimension nor sub-path indexing. e.g. for FacetField("a", "foo/bar/baz"), we would only index value "a/foo/bar/baz". -
ALL_PATHS_NO_DIM
Index sub-path and full-path drill down terms. No dimension indexing. e.g. for FacetField("a", "foo/bar/baz"), we would only index values "a/foo", "a/foo/bar", and "a/foo/bar/baz". -
DIMENSION_AND_FULL_PATH
Index dimension and full-path drill down terms. No sub-path indexing. e.g. for FacetField("a", "foo/bar/baz"), we would only index values "a" and "a/foo/bar/baz". -
ALL
Index dimension, sub-path and full-path drill down terms. e.g. for FacetField("a", "foo/bar/baz"), we would index all values "a", "a/foo", "a/foo/bar", and "a/foo/bar/baz". This is the default / existing behavior.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-