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