lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From digy digy <>
Subject Re: [Lucene.Net] How to add document to more than one index (but only analyze once)?
Date Fri, 09 Sep 2011 15:44:39 GMT
How about indexing the new document(s) in memory using RAMDirectory then
calling indexWriter.AddIndexesNoOptimize for NRT & master index?


On Fri, Sep 9, 2011 at 5:33 PM, Robert Stewart <>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

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message