Go for it!
Erik
On Jun 8, 2006, at 3:15 PM, Yonik Seeley wrote:
Are there any objections to replacing BitSet with OpenBitSet in
BitDocSet?
http://issues.apache.org/jira/browse/SOLR-15
This would only impact those using custom query handlers *and*
constructing their own BitSet objects or using the deprecated
DocSet.getBits() method. Code changes should be simple & minimal
though, as I think I've implemented everything needed for faceted
browsing and the method names should be the same as those on BitSet.
The benefit is the 3 to 4 times speedup for intersection-size
calculations, plus the flexibility of being able to do more efficient
stuff in the future (for example, think chained-filter
word-at-a-time).
-Yonik