Class CoupledQueryField
java.lang.Object
de.hybris.platform.solrfacetsearch.search.CoupledQueryField
- All Implemented Interfaces:
Serializable
The Class represents a logically coupled Facet Query Fieled Constraint. I.e:
You can group more than one
((catalogId:TestCatalog) AND (version:(Online OR Staged)) OR ((catalogId:(TestCatalogA OR TestCatalogB)) AND (version:Online))).
The inner constraints are represented by QueryFields which can be joined with the
innerCouplingOperator.You can group more than one
CoupledQueryField just by setting the same
coupleId and some outerCouplingOperator.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCoupledQueryField(String coupleId, QueryField field1, QueryField field2, SearchQuery.Operator innerCouplingOperator, SearchQuery.Operator outerCouplingOperator) -
Method Summary
Modifier and TypeMethodDescription
-
Constructor Details
-
CoupledQueryField
public CoupledQueryField(String coupleId, QueryField field1, QueryField field2, SearchQuery.Operator innerCouplingOperator, SearchQuery.Operator outerCouplingOperator) - Parameters:
coupleId- - couple ID to identify groups.field1- -QueryField- left query field forinnerCouplingOperatorfield2- -QueryField- right query field forinnerCouplingOperatorinnerCouplingOperator- - operator joiningfield1andfield2outerCouplingOperator- - operator to join couples with the samecoupleId
-
-
Method Details
-
getCoupleId
-
getField1
-
getField2
-
getInnerCouplingOperator
-
getOuterCouplingOperator
-