The goal is to construct the iterator Iterator: term -> [doc1, doc2, ...]
It would run through the entire Lucene index . The index contains +100 mln documents Thanks, mb On Wed, Nov 27, 2013 at 5:47 AM, Erick Erickson <erickerick...@gmail.com>wrote: > Probably should explain what your end goal here is. > Reconstructing the entire document? Just finding out > what documents a few words belong to? > > The former will be painful and lossy, Luke does that > for instance. > > FWIW, > Erick > > > On Mon, Nov 25, 2013 at 11:54 AM, Michael Berkovsky < > michael.berkov...@gmail.com> wrote: > > > Hello! > > > > I wonder if there is a fast way to scan through the entire inverted index > > to collect words and documents they belong to. > > > > Thanks, > > mb > > >