Interface I_CmsSearchConfigurationFacetField

All Superinterfaces:
I_CmsSearchConfigurationFacet
All Known Implementing Classes:
CmsSearchConfigurationFacetField

The interface a field facet configuration must implement.
  • Method Details

    • getField

      Returns the index field that is used for the facet.
      Returns:
      The index field that is used for the facet.
    • getLimit

      Returns the maximal number of entries that should be shown in the facet.
      Returns:
      The maximal number of entries that should be shown in the facet. (Solr: facet.limit)
    • getPrefix

      Returns the prefix all entries of a facet must match.
      Returns:
      The prefix all entries of a facet must match. (Solr: facet.prefix)
    • getSortOrder

      Returns the sort order that should be used for the facet entries (either "count" or "index").
      Returns:
      The sort order that should be used for the facet entries (either "count" or "index"). (Solr: facet.sort)
    • modifyFilterQuery

      Returns the (modified) filter query that should be send as filter query when a facet entry is checked.
      Parameters:
      facetValue - The modifier that should be applied the each filter query appended when checking a facet entry. The modifier can contain the macro "%(value)" that is substituted by the facet entry's value. If the modifier is null, the unmodified filter query is returned.
      Returns:
      The filter query's value.