public abstract class AbstractSolrBoostExtensionHandler extends org.broadleafcommerce.common.extension.AbstractExtensionHandler implements SolrBoostExtensionHandler
Constructor and Description |
---|
AbstractSolrBoostExtensionHandler() |
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.
|
getPriority, isEnabled, setEnabled, setPriority
@Deprecated public 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)
SolrBoostExtensionHandler
buildBoostQuery
in interface SolrBoostExtensionHandler
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")public 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)
SolrBoostExtensionHandler
buildBoostQuery
in interface SolrBoostExtensionHandler
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")searchCriteria
- contains information on the search request such as category and query stringpublic 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)
SolrBoostExtensionHandler
buildBoostFunction
in interface SolrBoostExtensionHandler
Copyright © 2020. All rights reserved.