How about indexing the new document(s) in memory using RAMDirectory then calling indexWriter.AddIndexesNoOptimize for NRT & master index?
DIGY On Fri, Sep 9, 2011 at 5:33 PM, Robert Stewart <robert_stew...@epam.com>wrote: > Is it possible to add a document to more than one index at the same time, > such that document fields are only analyzed one time? For instance, to add > document to both a master index, and a smaller near real-time index. I > would like to avoid analyzing document fields more than once but I dont see > if that is possible at all using Lucene API. > > Thanks, > Bob