Hello, First of all, Solr intends to use top level reader at contrast to Lucene's per segment readers strategy. The closest analog in Lucene, which i'm aware of is new CachingWrappingFilter(new QueryWrapperFilter(youBooleanQuery)).getDocIdSet(reader) It creates per segment bitsets. Not really straightforward? Yeah!
Regards On Mon, Apr 16, 2012 at 2:15 PM, Flavio Martins <xha...@gmail.com> wrote: > Hi. > > I am developing for Lucene and I am making use of DocSetCollector class in > Solr. > I would prefer to depend only on the Lucene classes, but I can't find > a similar class in the > Lucene code base. Is there one? > -- Sincerely yours Mikhail Khludnev ge...@yandex.ru <http://www.griddynamics.com> <mkhlud...@griddynamics.com>