Details
-
New Feature
-
Status: Reopened
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
New
Description
mattweber pointed out on LUCENE-8196 that Intervals.unordered() doesn't check to see if its subintervals overlap, which means that for example Intervals.unordered(Intervals.term("a"), Intervals.term("a")) would match a document with a appearing only once. This ticket will introduce a new function, Intervals.unordered_distinct(), that ensures that all subintervals within an unordered interval do not overlap.