lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jamie <ja...@mailarchiva.com>
Subject Re: search performance
Date Tue, 03 Jun 2014 12:39:53 GMT
Robert

FYI: I've modified the code to utilize the experimental function..

     DirectoryReader dirReader = 
DirectoryReader.openIfChanged(cachedDirectoryReader,writer, true);

In this case, the IndexReader won't be opened on each search, unless 
absolutely necessary.

Regards

Jamie

On 2014/06/03, 1:25 PM, Jamie wrote:



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message