I need to configure advanced search in order to make search using the AND operator between fields The OR operator with the same field values for example
Advanced Search request : A and B
The search request : A AND (B1 OR B2)
According to https://help.hybris.com/6.1.0/hcd/8b50ccf3866910149e1c9ebdd47f12be.html it's possible:
By default, the Advanced Search widget allows to use a single global operator when defining a search query (either OR or AND). It is possible though to set multiple conditions for search, e.g.: (condition A OR condition B) AND (condition C OR condition D). To learn more how to implement that, see the Advanced Search Backoffice Framework Search API.
Tutorial, how to implement it, is available here: https://help.hybris.com/6.1.0/hcd/8b5074b3866910149d2bf4072759941e.html
Nevertheless, it's possible only from API point of view. In other words, you cannot construct such query by using Advanced Search Widget in UI.