Holy Moley this code is over my head. : So the first step is to decide if we should migrate to this, and if : so, where it belongs. : - lucene.util? BitSet is hard-coded into Lucene in enough places that : I don't know if it would be useful to people there or not. : - solr.util?
solr.util sounds right ... once Solr is using it, we can open a Lucene issue to potentially "promote" it into lucene core .. but it's really no different then FunctionQuery or any of the other cool stuff that might be reusable. : Here's the class (test code & benchmarking code left out): Why don't you open a Jira issue for this and attach both this code and your tests (the more different people we have trying them on the more different JVMs and hardware the better) -Hoss