On Tue, 2015-08-11 at 11:57 +0200, Adrien Grand wrote: > The go-to class for building a DocIdSet from a sorted iterator in > Lucene would rather be RoaringDocIdSet. BitDocIdSet works too, but it > has to trade quite some iteration/build speed and memory efficiency in > order to provide random write and read access.
I guess one of the reasons for this mess of id set implementations is the different needs: sparse vs. dense (memory and performance), iteration vs. random access (performance), and/or/andNot operations across different implementations. I have looked at RoaringDocIdSet and agree that it looks very promising. - Toke Eskildsen, State and University Library, Denmark --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
