Elasticsearch Rest client for Query DSL

148 Views Asked by At

I am trying to write a method using ElasticsearchRestTemplate to fetch data from elasticsearch using query DSL ]. I looked into the documentation, but the documentation is not clear to me how to get the data from elasticsearch using java. Can anyone please help me how to fetch data from elasticsearch using Java client ( ElasticsearchRestTemplate ) by query DSL?

1

There are 1 best solutions below

0
P.J.Meisch On

Spring Data Elasticsearch does not support QueryDsl.