Thanks for your response. Ok I can understand the concept ..... if you have any sample code pls sent it to me.
You have any idea about Parallel Searcher pls share to me. -----Original Message----- From: Terence Lai [mailto:[EMAIL PROTECTED] Sent: Thursday, August 12, 2004 8:40 PM To: Lucene Users List Subject: RE: MultiSearcher to Indexing. This is how I do it: IndexSearcher[] is = new IndexSearcher[2]; is[0] = new IndexSearcher(IndexDir1); // first index folder is[1] = new IndexSearcher(IndexDir2); // second index folder MultiSearcher searcher = new MultiSearcher(is); searcher.search(query); I think that the MulitSearcher is only doing sequential search. Alternately, you can use ParallelMultiSearcher which allows you to do the search in parallel. Hope this helps, Terence > FYI > > I have an Indexing files in different folders, in this time how can I > doing the Searching process using MultiSearcher. > > Thanks, > Natarajan. > > > > > > ---------------------------------------------------------- Get your free email account from http://www.trekspace.com Your Internet Virtual Desktop! --------------------------------------------------------------------- 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]