Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8300

Add unordered-distinct IntervalsSource

Details

    • New Feature
    • Status: Reopened
    • Major
    • Resolution: Fixed
    • None
    • 7.4
    • 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.

      Attachments

        1. LUCENE-8300.patch
          8 kB
          Alan Woodward
        2. LUCENE-8300.patch
          8 kB
          Alan Woodward

        Activity

          People

            romseygeek Alan Woodward
            romseygeek Alan Woodward
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: