Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Trivial 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.

      1. LUCENE-1605.txt
        3 kB
        Jeremy Volkman

        Activity

        Hide
        Michael McCandless added a comment -

        Patch looks good; I'll commit shortly. Thanks Jeremy!

        Show
        Michael McCandless added a comment - Patch looks good; I'll commit shortly. Thanks Jeremy!

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development