本文整理了Java中org.elasticsearch.client.RestHighLevelClient.mget
方法的一些代码示例,展示了RestHighLevelClient.mget
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RestHighLevelClient.mget
方法的具体详情如下:
包路径:org.elasticsearch.client.RestHighLevelClient
类名称:RestHighLevelClient
方法名:mget
[英]Retrieves multiple documents by id using the Multi Get API. See Multi Get API on elastic.co
[中]使用Multi-Get API按id检索多个文档。见Multi Get API on elastic.co
代码示例来源:origin: org.elasticsearch.client/elasticsearch-rest-high-level-client
/**
* Retrieves multiple documents by id using the Multi Get API.
* See <a href="https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-multi-get.html">Multi Get API on elastic.co</a>
* @param multiGetRequest the request
* @param options the request options (e.g. headers), use {@link RequestOptions#DEFAULT} if nothing needs to be customized
* @return the response
* @deprecated use {@link #mget(MultiGetRequest, RequestOptions)} instead
*/
@Deprecated
public final MultiGetResponse multiGet(MultiGetRequest multiGetRequest, RequestOptions options) throws IOException {
return mget(multiGetRequest, options);
}
代码示例来源:origin: apache/servicemix-bundles
return mget(multiGetRequest, options);
内容来源于网络,如有侵权,请联系作者删除!