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

Add DocIdSetIterator.range method

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 7.5, 8.0
    • None
    • None
    • New

    Description

      We already have DocIdSetIterator.all and DocIdSetIterator.empty but I'd like to also add a range method to match a specified range of docids.

      E.g. this can be useful if you sort your index by a key, and then create a custom query to match documents by values for that key, or by range (LUCENE-7714).

      Attachments

        1. LUCENE-8378.patch
          4 kB
          Michael McCandless
        2. LUCENE-8378.patch
          4 kB
          Michael McCandless

        Activity

          People

            mikemccand Michael McCandless
            mikemccand Michael McCandless
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: