public interface SolrBoostExtensionHandler
extends org.broadleafcommerce.common.extension.ExtensionHandler
Modifier and Type | Method and Description |
---|---|
org.broadleafcommerce.common.extension.ExtensionResultStatusType |
buildBoostFunction(org.broadleafcommerce.common.extension.ExtensionResultHolder<String> resultHolder,
String solrFieldName,
BigDecimal boost,
Boolean descending,
BigDecimal minScore,
org.broadleafcommerce.core.search.domain.FieldEntity entityType,
org.broadleafcommerce.core.search.domain.SearchCriteria searchCriteria)
Builds the correct boost function for the given parameters and puts it in the result holder
|
org.broadleafcommerce.common.extension.ExtensionResultStatusType |
buildBoostQuery(org.broadleafcommerce.common.extension.ExtensionResultHolder<String> resultHolder,
String solrFieldName,
String queryString,
BigDecimal boost,
org.broadleafcommerce.core.search.domain.FieldEntity entityType)
Deprecated.
|
org.broadleafcommerce.common.extension.ExtensionResultStatusType |
buildBoostQuery(org.broadleafcommerce.common.extension.ExtensionResultHolder<String> resultHolder,
String solrFieldName,
String queryString,
BigDecimal boost,
org.broadleafcommerce.core.search.domain.FieldEntity entityType,
org.broadleafcommerce.core.search.domain.SearchCriteria searchCriteria)
Builds the correct boost query for the given parameters and puts it in the result holder.
|
@Deprecated org.broadleafcommerce.common.extension.ExtensionResultStatusType buildBoostQuery(org.broadleafcommerce.common.extension.ExtensionResultHolder<String> resultHolder, String solrFieldName, String queryString, BigDecimal boost, org.broadleafcommerce.core.search.domain.FieldEntity entityType)
resultHolder
- solrFieldName
- the name of the field we are boosting in Solr (e.g. "device_t")queryString
- the query string for this boost query (e.g. "IPhone", where bq could be "bq=device_t:IPhone")boost
- the boost value for this boost query (e.g. if boost is 2.0, then bq could be "bq=device_t:IPhone^2.0")entityType
- org.broadleafcommerce.common.extension.ExtensionResultStatusType buildBoostQuery(org.broadleafcommerce.common.extension.ExtensionResultHolder<String> resultHolder, String solrFieldName, String queryString, BigDecimal boost, org.broadleafcommerce.core.search.domain.FieldEntity entityType, org.broadleafcommerce.core.search.domain.SearchCriteria searchCriteria)
resultHolder
- solrFieldName
- the name of the field we are boosting in Solr (e.g. "device_t")queryString
- the query string for this boost query (e.g. "IPhone", where bq could be "bq=device_t:IPhone")boost
- the boost value for this boost query (e.g. if boost is 2.0, then bq could be "bq=device_t:IPhone^2.0")entityType
- searchCriteria
- contains information on the search request such as category and query stringorg.broadleafcommerce.common.extension.ExtensionResultStatusType buildBoostFunction(org.broadleafcommerce.common.extension.ExtensionResultHolder<String> resultHolder, String solrFieldName, BigDecimal boost, Boolean descending, BigDecimal minScore, org.broadleafcommerce.core.search.domain.FieldEntity entityType, org.broadleafcommerce.core.search.domain.SearchCriteria searchCriteria)
resultHolder
- solrFieldName
- boost
- descending
- minScore
- entityType
- searchCriteria
- Copyright © 2019. All rights reserved.