python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Simple aggregation is getting failed in javaelasticsearch 8.0+ client
I have got a simple method that performs simple terms aggregation using elastic search8.0
I am able to do it using RestHighLevelClient but with ElasticsearchClient I am getting empty buckets.
can som...
khasim
Votes: 0
Answers: 0
elasticsearch java.lang.NoSuchMethodError: org.apache.http.client.utils.URLEncodedUtils.formatSegments
I'm trying this basic elasticsearch example from there guide to use java client API in a spring boot project.
but it gives me the following error when running:
java.lang.NoSuchMethodError: org.apache....
zyydoosh
Votes: 0
Answers: 1
Elastic 8.1.1 - Cannot instantiate FunctionScore, build() protected
I am trying to migrate some elastic functionalty from elasticsearch 6.5.4 -> 8.1.1, specifically a functionScoreQuery:
private SearchRequest buildRequest(String query) {
SearchRequest searchRe...
T Ä
Votes: 0
Answers: 1
highlight in elasticsearch query? how to highlight two fields?
my search field is one ,but I need to highlight two fields in a document? how can I achieve this
Ex:
my search query is match:{"file":"hello"}
I want to highlight email field also
AJITHKUMAR
Votes: 0
Answers: 1