Query Service
The Query service builds the search expressions and then hands the expression to Elastic. It also takes the query results and translates them back into a form that can be used by the storefront.
In Commerce Search, search queries are built using the Query microservice. It is used to create the search queries that will be passed to the Elastic engine.
Controlling Query using REST
The query service consists of REST-enabled Java classes implemented as Spring Boot controllers. You can set up your configurations, including runtime configurations, via the REST API. For more information about the API, see the Query REST API.