79277693

Date: 2024-12-13 09:06:40
Score: 1
Natty:
Report link

Since there is a change in the RangeQuery class since version 8.15, you need to use the term method that implies DateRangeQuery, a new class that has the .field that you are looking:

new RangeQuery.Builder().date(_0 -> _0
            .field("fieldName")
            .gte("value")
        ).build()._toQuery();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pablo GarcĂ­a