Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-3374

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

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.0.Alpha2
    • Component/s: engine, query
    • Labels:
      None

      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.

        Attachments

          Activity

            People

            • Assignee:
              fercoli Fabio Massimo Ercoli
              Reporter:
              yrodiere Yoann Rodière
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: