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: [email protected]

> -----Original Message-----
> From: m.harig [mailto:[email protected]]
> Sent: Friday, October 02, 2009 6:52 PM
> To: [email protected]
> 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: [email protected]
> For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to