Is there any way to fire multiple query against a index in one request

I am trying to figure out a way by using which i can run multiple query against a index and get a collected response from the request. I am using search builder in java to search using query string but i want to perform a search using multiple queries as string.

Is there any way in elasticsearch 6.2 to do multiple query against an index ?

You can use _msearch, but I am not sure what that translates to in the java client sorry.

I don't use Java myself, but I believe this example could be helpful for you:

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.