addIndexes accepts IndexReaders, so eg "foreign" IndexReader impls can be passed in (eg FilterIndexReader).
While addIndexesNoOptimize accepts Directory, ie it gets a reader using IR.open. Mike On Mon, May 10, 2010 at 5:58 AM, Shai Erera <ser...@gmail.com> wrote: > Hi > > As I was working on LUCENE-1585 and understanding more the differences > between addIndexes and addIndexesNoOptimize, I was wondering why do we have > those two methods? It seems like addIndexes's usage is discouraged, no? Can > someone please explain me why it isn't deprecated, and addIndexesNoOpt > becomes the default one? Are we losing any functionality? > > Shai > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org