Re: Distinction between AtomicReader and CompositeReader

2013-04-24 Thread Adrien Grand
Hi Paul On Wed, Apr 24, 2013 at 1:35 PM, Paul Taylor wrote: > Trying to convert some Lucene 3 code to Lucene 4, > > I want to use termEnums.docs(ir.getLiveDocs()) to only return docs that have > not been deleted for a particular term. However getLiveDocs() is only > available for AtomicReaders, a

Distinction between AtomicReader and CompositeReader

2013-04-24 Thread Paul Taylor
Trying to convert some Lucene 3 code to Lucene 4, I want to use termEnums.docs(ir.getLiveDocs()) to only return docs that have not been deleted for a particular term. However getLiveDocs() is only available for AtomicReaders, and although I just have a single index it is file based and uses Di