Enum Class SolrIndexedPropertyFacetType

java.lang.Object
java.lang.Enum<SolrIndexedPropertyFacetType>
de.hybris.platform.solrfacetsearch.enums.SolrIndexedPropertyFacetType
All Implemented Interfaces:
de.hybris.platform.core.HybrisEnumValue, Serializable, Comparable<SolrIndexedPropertyFacetType>, Constable

public enum SolrIndexedPropertyFacetType extends Enum<SolrIndexedPropertyFacetType> implements de.hybris.platform.core.HybrisEnumValue
Generated enum SolrIndexedPropertyFacetType declared at extension solrfacetsearch.

This enumeration defines the type of solr facets. The facet type determines behaviour of the facet filer. Refine: the typical drill down facet, where only one facet value can be selected within a facet. Multi-select allows multiple facet values to be selected within a facet. MultiSelectAnd: causes the multiple facet values to be ANDed together, where the product results must match all of the selected values. MultiSelectOr: causes the multiple facet values to be ORed together, where the product results must mach any of the selected values.

  • Enum Constant Details

    • REFINE

      public static final SolrIndexedPropertyFacetType REFINE
      Generated enum value for SolrIndexedPropertyFacetType.Refine declared at extension solrfacetsearch.
    • MULTISELECTAND

      public static final SolrIndexedPropertyFacetType MULTISELECTAND
      Generated enum value for SolrIndexedPropertyFacetType.MultiSelectAnd declared at extension solrfacetsearch.
    • MULTISELECTOR

      public static final SolrIndexedPropertyFacetType MULTISELECTOR
      Generated enum value for SolrIndexedPropertyFacetType.MultiSelectOr declared at extension solrfacetsearch.
  • Field Details

  • Method Details

    • values

      public static SolrIndexedPropertyFacetType[] 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 SolrIndexedPropertyFacetType 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
    • getCode

      public String getCode()
      Gets the code of this enum value.
      Specified by:
      getCode in interface de.hybris.platform.core.HybrisEnumValue
      Returns:
      code of value
    • getType

      public String getType()
      Gets the type this enum value belongs to.
      Specified by:
      getType in interface de.hybris.platform.core.HybrisEnumValue
      Returns:
      code of type