public interface CategorySearchProfileFacade
CategorySolrSearchProfileModel allows you to reconfigure default IndexedProperty attributes for a given search context,
for example selected category. A Solr search profile identifies the place where the assigned reconfigurations come into effect.
Currently there exist a category solr search profile which is used to connect the category with the group of FacetReconfiguration
and global solr search profile which is a root search profile. By default, a category search profile inherits all reconfigurations from its parent category.
In other words, when the search profile cannot be found for a specific category, then the category tree bottom-up is checked
to find out the nearest category with an assigned search profile. If no search profile for the parent category could be found
then reconfigurations from the global search profile will be loaded (if any). CategorySolrSearchProfile also inherits reconfigurations
at the creation time. It means that all reconfiguration assigned to the nearest profile are copied to the newly created object.| Modifier and Type | Method and Description |
|---|---|
CategorySolrSearchProfileModel |
createSolrSearchProfile(String categoryCode)
Returns a new search profile for a given category code.
|
AbstractSolrSearchProfileModel |
getEffectiveSolrSearchProfile(String categoryCode)
Returns matching or nearest match search profile with facet reconfiguration rules (else global profile if that
exists)
|
AbstractSolrSearchProfileModel getEffectiveSolrSearchProfile(String categoryCode)
categoryCode - Given category codeCategorySolrSearchProfileModel createSolrSearchProfile(String categoryCode)
categoryCode - Given category codeCopyright © 2017 SAP SE. All Rights Reserved.