Package com.skava.search.solr.util
Class SolrFacetUtil
java.lang.Object
com.skava.search.solr.util.SolrFacetUtil
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionconstructandOrderFacting
(List<Facet> facetList, String[] requiredFacets) This method is used to facet ordering.constructFacets
(org.apache.solr.client.solrj.response.QueryResponse documents, SearchDO searchDO) static void
setName
(Facet facet, Attributes searchField, String locale) This method is used to set name of a facet.
-
Field Details
-
CUSTOM_CLASSIFIER_LENGHT
public static final int CUSTOM_CLASSIFIER_LENGHT- See Also:
-
FACET_REGIX_CONSTANT
public static final int FACET_REGIX_CONSTANT- See Also:
-
SOLR_FACET_EXCLUDE_TAGE
- See Also:
-
SOLR_COUNT
- See Also:
-
SOLR_STATS
- See Also:
-
SOLR_STATS_FIELDS
- See Also:
-
SOLR_RANGE_FACET
- See Also:
-
SOLR_SLIDER
- See Also:
-
DEFAULT_VALUE
- See Also:
-
-
Method Details
-
constructFacets
-
setName
This method is used to set name of a facet.- Parameters:
facet
- holds the Facet objectsearchField
- holds the Attributes objectlocale
- holds the locale information
-
constructandOrderFacting
This method is used to facet ordering.
-