On Tue, Apr 5, 2011 at 2:24 AM, Antony Bowesman <a...@thorntothehorn.org> 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: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org