-
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
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.