lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Stewart <Robert_Stew...@epam.com>
Subject Re: [Lucene.Net] How to add document to more than one index (but only analyze once)?
Date Fri, 09 Sep 2011 16:03:07 GMT
That sounds like a good plan.  How will that affect existing merge scheduling?  For master
index I use merge factor of 2.


On Sep 9, 2011, at 11:44 AM, digy digy wrote:

> 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_Stewart@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


Mime
View raw message