English 中文(简体)
how to provide source Field in _msearch query in ElasticSearch 8 java client
原标题:

My ElasticSearch s documents are of high size. My service is Java application and its using ElasticSearch java client version 8. Need to run _msearch query on ES. MultisearchBody don t have field of _source. in ES native query I can do this by below query

{ "query": { "bool": { "must": { "match_all": {} } } }, "size": 10000, "_source": [ "personName" ]}

Not able to figure-out how to do this in ES-java client library version 8?

问题回答

暂无回答




相关问题
Roll over index with elastic search and serilog

We are using es 6.7 and serilog 7.1 in our dotnet core application. In our logger implementation vi are using the following index "app-{0:yyyy.MM}-1" for our ElasticsearchSinkOptions. This ...

Change the date format in kibana

I am working for my internship on the implementation of the ElasticSearch family (ElasticSearch+ Kibana+ logstash). Here is my question: I have a field "@ timestamp" with the following format: 2014-05-...

热门标签