public interface FacetReconfigurationService
SolrFacetReconfigurationModel attribute values
could be copied from SolrIndexedPropertyModel or
from other SolrFacetReconfigurationModel. Each Solr facet reconfiguration has assigned one facet that will be overridden.
The Solr facet reconfiguration is assigned to a search profile that defines for which search the reconfiguration should be applied.| Modifier and Type | Method and Description |
|---|---|
void |
applyFacetReconfigurations(IndexedType indexedType,
FacetSearchConfig facetSearchConfig,
List<CategoryModel> selectedCategoryBackpath)
Iterates through all categories identified in the category back path and applies the facet reconfiguration rules
to the appropriate indexed properties.
|
void |
applyFacetReconfigurations(SearchQuery searchQuery,
List<CategoryModel> selectedCategoryBackpath)
Iterates through all categories identified in the category back path and applies the facet reconfiguration rules
to the appropriate indexed properties.
|
SolrFacetReconfigurationModel |
createReconfiguration(SolrFacetReconfigurationModel facetReconfigurationModel,
AbstractSolrSearchProfileModel searchProfile)
This method creates a new SolrFacetReconfigurationModel based on the given SolrFacetReconfigurationModel.
|
SolrFacetReconfigurationModel |
createReconfiguration(SolrIndexedPropertyModel indexedPropertyModel,
AbstractSolrSearchProfileModel searchProfile)
This method creates a new SolrFacetReconfigurationModel based on the given SolrIndexedPropertyModel.
|
SolrFacetReconfigurationModel createReconfiguration(SolrIndexedPropertyModel indexedPropertyModel, AbstractSolrSearchProfileModel searchProfile)
indexedPropertyModel - Source indexed property modelsearchProfile - Search profile to which the new Solr facet reconfiguration should be assigned.SolrFacetReconfigurationModel createReconfiguration(SolrFacetReconfigurationModel facetReconfigurationModel, AbstractSolrSearchProfileModel searchProfile)
facetReconfigurationModel - Source facet reconfiguration.searchProfile - Search profile to which the new Solr facet reconfiguration should be assigned.void applyFacetReconfigurations(SearchQuery searchQuery, List<CategoryModel> selectedCategoryBackpath)
searchQuery - Search queryselectedCategoryBackpath - The list of all categories from the selected back to rootvoid applyFacetReconfigurations(IndexedType indexedType, FacetSearchConfig facetSearchConfig, List<CategoryModel> selectedCategoryBackpath)
indexedType - The given IndexedTypefacetSearchConfig - The given FacetSearchConfigselectedCategoryBackpath - The list of all categories from the selected back to rootCopyright © 2017 SAP SE. All Rights Reserved.