I have few json document with the following format :-
_source: { userId: \"A1A1\", customerId: \"C1\", component: \"comp_
If you use a query_string query, your ANDs and ORs will be interpreted as such by the Lucene library.
This allows you to search for
(currentUserId OR currentCustomerId) AND currentComponent
for instance. By default, the values will be searched for in all fields.