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 Details

    • NONE

      public static final FacetsConfig.DrillDownTermsIndexing 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

      public static final FacetsConfig.DrillDownTermsIndexing 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

      public static final FacetsConfig.DrillDownTermsIndexing 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

      public static final FacetsConfig.DrillDownTermsIndexing 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

      public static final FacetsConfig.DrillDownTermsIndexing 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

      public static FacetsConfig.DrillDownTermsIndexing[] 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

      public static FacetsConfig.DrillDownTermsIndexing valueOf(String name)
      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 name
      NullPointerException - if the argument is null