Class BackofficeSolrUtil
java.lang.Object
com.hybris.backoffice.solrsearch.utils.BackofficeSolrUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic SearchQuery.OperatorconvertToSolrOperator(com.hybris.cockpitng.search.data.ValueComparisonOperator operator) ConvertsValueComparisonOperatortoSearchQuery.SearchQuery.Operatorwhich is used to combine search conditions.
-
Method Details
-
convertToSolrOperator
public static SearchQuery.Operator convertToSolrOperator(com.hybris.cockpitng.search.data.ValueComparisonOperator operator) ConvertsValueComparisonOperatortoSearchQuery.SearchQuery.Operatorwhich is used to combine search conditions. Parameter with a value equal toValueComparisonOperator.ANDis converted toSearchQuery.SearchQuery.Operator.AND. All other values ofValueComparisonOperatorare converted toSearchQuery.SearchQuery.Operator.OR.- Parameters:
operator- operator which is converted toSearchQuery.Operator.- Returns:
- converted operator.
-