-
Type:
New Feature
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 7.4
-
Component/s: None
-
Labels:None
-
Lucene Fields:New
Matt Weber 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.