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: u...@thetaphi.de
> 
>> -----Original Message-----
>> From: m.harig [mailto:m.ha...@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-unsubscr...@lucene.apache.org
>> For additional commands, e-mail: java-user-h...@lucene.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to