Yonik, Erik... What would be the right way to put ObenBitSet into Lucene? Should it be copied somewhere into Lucene packages (in order not to create dependancy on solr).
I would vote to park it in Lucene util package or so and then reference it from solr as this dependancy allready exists? ----- Original Message ---- From: Erik Hatcher <[EMAIL PROTECTED]> To: [email protected] Sent: Friday, 9 June, 2006 3:22:13 AM Subject: Re: BitDocSet (BitSet->OpenBitSet) 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
