FacetsConfig.DrillDownTermsIndexing (Lucene 10.5.0 facet API)
Description: declaration: package: org.apache.lucene.facet, class: FacetsConfig, enum: DrillDownTermsIndexing

Package org.apache.lucene.facet

# Enum Class FacetsConfig.DrillDownTermsIndexing

java.lang.Object
java.lang.Enum<FacetsConfig.DrillDownTermsIndexing>
org.apache.lucene.facet.FacetsConfig.DrillDownTermsIndexing

All Implemented Interfaces:
  `Serializable`, `Comparable<FacetsConfig.DrillDownTermsIndexing>`, `Constable`

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.

- ## Nested Class Summary

  ## Nested classes/interfaces inherited from class java.lang.Enum

  `Enum.EnumDesc<E extends Enum<E>>`

- ## Enum Constant Summary

  Enum Constants
  Enum Constant
  Description
  `ALL`
  Index dimension, sub-path and full-path drill down terms.
  `ALL_PATHS_NO_DIM`
  Index sub-path and full-path drill down terms.
  `DIMENSION_AND_FULL_PATH`
  Index dimension and full-path drill down terms.
  `FULL_PATH_ONLY`
  Index only full-path drill down terms.
  `NONE`
  Index no drill down terms.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static FacetsConfig.DrillDownTermsIndexing`
  `valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static FacetsConfig.DrillDownTermsIndexing[]`
  `values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

  ### Methods inherited from class java.lang.Enum

  `clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`

  ### Methods inherited from class java.lang.Object

  `getClass, notify, notifyAll, wait, wait, wait`

- ## 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 class, in the order they are declared.
    Returns:
      an array containing the constants of this enum class, in the order they are declared

  - ### valueOf

    public static FacetsConfig.DrillDownTermsIndexing valueOf(String name)
    Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      `NullPointerException` - if the argument is null