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

Add subset method to BitVector

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    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

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              jvolkman Jeremy Volkman

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment