Details

    • Type: New Feature
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.9
    • Fix Version/s: 2.9
    • Component/s: core/other
    • Labels:
      None
    • Lucene Fields:
      New, Patch Available

      Description

      Recently I needed the ability to efficiently compute subsets of a BitVector. The method is:
      public BitVector subset(int start, int end)
      where "start" is the starting index, inclusive and "end" is the ending index, exclusive.

      Attached is a patch including the subset method as well as relevant unit tests.

        Attachments

        1. LUCENE-1605.txt
          3 kB
          Jeremy Volkman

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: