Hi,
How do I use multisearch api in my java program through my LowLevelRest client and HighLEvel Rest Client??
I have referred the documentation but can't understand much of it!
Hi,
How do I use multisearch api in my java program through my LowLevelRest client and HighLEvel Rest Client??
I have referred the documentation but can't understand much of it!
With the Low Level client you have to do most of the job by yourself.
Something like:
Map<String, String> params = Collections.emptyMap();
String jsonString = "/* All your requests here */";
HttpEntity entity = new NStringEntity(jsonString, ContentType.APPLICATION_JSON);
Response response = restClient.performRequest("GET", "/_msearch", params, entity);
And Similarly with HighLevel?
Is there any performance different in both cases?
_msearch
is not implemented yet. See
Thanks !
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.