On Tue, Apr 5, 2011 at 2:24 AM, Antony Bowesman <[email protected]> wrote: > Seems like SortedVIntList can be used to store the info, but it has no > methods to build the list in the first place, requiring an array or bitset > in the constructor.
It has a constructor that takes DocIdSetIterator - so you can pass an iterator obtained from anywhere else (a Scorer actually is a DocIdSetIterator, and you can get a DocIdSet from a Filter), or implement your own. It's a simple iterator interface. -Yonik http://www.lucenerevolution.org -- Lucene/Solr User Conference, May 25-26, San Francisco --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
