lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "m.harig" <m.ha...@gmail.com>
Subject RE: index reader for multiple indexes
Date Sat, 03 Oct 2009 06:40:09 GMT

Thanks Uwe Schindler ,

      If i use an IndexReader[] to use MultiReader  , will it be thread
safe? because i've to reopen my IndexReader to check whether my index is
updated or not . In this case how do i handle it? please suggest me



Uwe Schindler wrote:
> 
> Use MultiReader which is an IndexReader on top of various
> Sub-IndexReaders.
> 
> -----
> Uwe Schindler
> H.-H.-Meier-Allee 63, D-28213 Bremen
> http://www.thetaphi.de
> eMail: uwe@thetaphi.de
> 
>> -----Original Message-----
>> From: m.harig [mailto:m.harig@gmail.com]
>> Sent: Friday, October 02, 2009 6:52 PM
>> To: java-user@lucene.apache.org
>> Subject: index reader for multiple indexes
>> 
>> 
>> hello all ,
>> 
>>        am merging more than one indexes to search a document , how do i
>> use
>> IndexReader here to open multiple indexes? (since IndexReader will open
>> one
>> directory at a time) could any1 please suggest me?
>> 
>> 
>> --
>> View this message in context: http://www.nabble.com/index-reader-for-
>> multiple-indexes-tp25716741p25716741.html
>> Sent from the Lucene - Java Users mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/index-reader-for-multiple-indexes-tp25716741p25726159.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


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