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();