Match the query String with multiple fields of elasticsearch index and merge all result through java API

I have a elasticsearch index with multiple fields, i want to match a string with all the fields (if this string present in any of the field then get the field data as result) and gather the result , has to to done by Java API.


please see our java documentation and if there are problems please ask concrete questions with code samples.


Thanks Alex.