[ 
https://issues.apache.org/jira/browse/LUCENE-1605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699718#action_12699718
 ] 

Michael McCandless commented on LUCENE-1605:
--------------------------------------------

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

> Add subset method to BitVector
> ------------------------------
>
>                 Key: LUCENE-1605
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1605
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: Other
>    Affects Versions: 2.9
>            Reporter: Jeremy Volkman
>            Assignee: Michael McCandless
>            Priority: Trivial
>             Fix For: 2.9
>
>         Attachments: LUCENE-1605.txt
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to