Search 6 groundwork - Restore the Search 5 syntax for including/excluding bounds in range predicates

Description

Search 5: .range().onField(...).from(foo).excludeLimit().to(bar).excludeLimit()
Search 6: .range().onField(...).from(foo, RangeBoundInclusion.EXCLUDED).to(bar, RangeBoundInclusion.EXCLUDED)

We originally changed the syntax in order to be able to avoid an .end() terminal call, but since then we decided to require the .end() terminal call regardless, and more recently we even decided to remove the fully fluent syntax.

Let's go back to the older syntax, that will be one less incompatibility between 5 and 6.

Environment

None

Status

Assignee

Fabio Massimo Ercoli

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

Yes, likely

Feedback Requested

None

Components

Fix versions

Priority

Major
Configure