Which java Class is good for developing client in spring boot to fetch data from Elastic Search

I have used elasticsearch library in node js and build a simple app which can fetch any key from elastic index .

Example:
API POST End Point: http://localhost:8000/serach/index_name/doc_type
data:
{
"_source": ["user","email"],
"query": ...,
"size": ...
}

I want to know which class i will use in java to achieve same thing.

Have a look at

This will give you an example.

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