public class BoostOperatorsRegistry extends Object
BoostOperatorsRegistry.IndexPropertyTypeOperatorsMapping from ApplicationContext
and expose a methods that determine if SolrBoostConditionOperator and SolrPropertiesTypes are
supported.| Modifier and Type | Class and Description |
|---|---|
static class |
BoostOperatorsRegistry.IndexPropertyTypeOperatorsMapping |
| Constructor and Description |
|---|
BoostOperatorsRegistry() |
| Modifier and Type | Method and Description |
|---|---|
Set<SolrBoostConditionOperator> |
getSupportedOperators(SolrPropertiesTypes solrPropertiesTypes) |
void |
initOperatorsMap() |
boolean |
isOperatorSupportedForGivenType(SolrPropertiesTypes solrPropertiesTypes,
SolrBoostConditionOperator solrBoostConditionOperator)
Determines whether the given
SolrBoostConditionOperator is supported for SolrPropertiesTypes. |
boolean |
isTypeSupported(SolrPropertiesTypes solrPropertiesTypes)
Determines whether the given
SolrPropertiesTypes is supported. |
void |
setApplicationContext(ApplicationContext applicationContext) |
public void initOperatorsMap()
public boolean isTypeSupported(SolrPropertiesTypes solrPropertiesTypes)
SolrPropertiesTypes is supported.solrPropertiesTypes - public boolean isOperatorSupportedForGivenType(SolrPropertiesTypes solrPropertiesTypes, SolrBoostConditionOperator solrBoostConditionOperator)
SolrBoostConditionOperator is supported for SolrPropertiesTypes.solrPropertiesTypes - public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
BeansExceptionpublic Set<SolrBoostConditionOperator> getSupportedOperators(SolrPropertiesTypes solrPropertiesTypes)
Copyright © 2017 SAP SE. All Rights Reserved.