public interface BoostService
AbstractSolrSearchProfileModel.| Modifier and Type | Method and Description |
|---|---|
SolrBoostRuleModel |
createBoostRule(IndexedType indexedType,
SolrFacetSearchConfigModel facetSearchConfig,
java.lang.String categoryCode,
BoostRuleData boostRuleData)
Creates and returns a new boost rule based on a given indexed type and facet search config.
|
AbstractSolrSearchProfileModel |
getBoostProfileForCategoryAndIndexedType(IndexedType indexedType,
CategoryModel categoryModel,
FacetSearchConfig facetSearchConfig)
Searches and returns a Solr Search Profile Model which exactly matches or is the nearest to a given category,
indexedType and facetSearchConfig.
|
java.util.Collection<SolrBoostRuleModel> |
getBoostRulesForCategoryAndIndexedType(IndexedType indexedType,
CategoryModel categoryModel,
FacetSearchConfig facetSearchConfig)
Returns all boost rules for a given category, indexedType and facetSearchConfig.
|
java.util.Collection<SolrBoostRuleModel> |
getBoostRulesForGlobalSearchProfile(IndexedType indexedType,
FacetSearchConfig facetSearchConfig)
Returns all boost rules for a given indexedType and facetSearchConfig that are defined in a GlobalSolrSearchProfile
|
AbstractSolrSearchProfileModel |
getProfileForCategoryAndIndexedType(IndexedType indexedType,
CategoryModel categoryModel,
FacetSearchConfig facetSearchConfig)
Searches and returns a Solr Search Profile Model which exactly matches the given category, indexedType and
facetSearchConfig.
|
void |
removeSolrBoostRule(java.lang.String pk)
Shortcut method to remove the
SolrBoostRuleModel with the given pk. |
java.util.Collection<SolrBoostRuleModel> getBoostRulesForCategoryAndIndexedType(IndexedType indexedType, CategoryModel categoryModel, FacetSearchConfig facetSearchConfig)
indexedType - The given IndexedTypecategoryModel - The given categoryfacetSearchConfig - The given facetSearchConfigjava.util.Collection<SolrBoostRuleModel> getBoostRulesForGlobalSearchProfile(IndexedType indexedType, FacetSearchConfig facetSearchConfig)
indexedType - The given IndexedTypefacetSearchConfig - The given facetSearchConfigAbstractSolrSearchProfileModel getBoostProfileForCategoryAndIndexedType(IndexedType indexedType, CategoryModel categoryModel, FacetSearchConfig facetSearchConfig)
indexedType - The given indexed typecategoryModel - The given categoryfacetSearchConfig - The given facet search configAbstractSolrSearchProfileModel instance which is found.void removeSolrBoostRule(java.lang.String pk)
SolrBoostRuleModel with the given pk.pk - the pk of the SolrBoostRuleModel which will be removed.SolrBoostRuleModel createBoostRule(IndexedType indexedType, SolrFacetSearchConfigModel facetSearchConfig, java.lang.String categoryCode, BoostRuleData boostRuleData)
indexedType - The given facet indexed typefacetSearchConfig - The given facet search configcategoryCode - The given category code, if category code is null then the boost rule will be assigned to the global search profile.boostRuleData - The boostRuleData contains parameter which are needed for boost rule creation (like operatorType, boostFactor, propertyName, propertyValue)SolrBoostRuleModel.AbstractSolrSearchProfileModel getProfileForCategoryAndIndexedType(IndexedType indexedType, CategoryModel categoryModel, FacetSearchConfig facetSearchConfig)
indexedType - The given indexed typecategoryModel - The given categoryfacetSearchConfig - The given facet search configAbstractSolrSearchProfileModel instance which is found or null if no profile is found.Copyright © 2018 SAP SE. All Rights Reserved.