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

Add DocIdSetIterator.range method

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.5, 8.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: