I am migrating a java application from elastic search high level client to java api client.
There is a range query like this in the code.
Need to change this to java api client code.
Could someone help on this?
Query dateRangeQuery = RangeQuery.of(r -> r .field("startDate") .lte(dateUtils.today()) )._toQuery();
Answered By – Joyin
Answer Checked By – Dawn Plyler (AngularFixing Volunteer)