Re: Help on the ParallelMultiSearcher.rewrite(Query) method

2005-07-08 Thread Erik Hatcher
On Jul 8, 2005, at 10:32 AM, Terence Lai wrote: I have implemented the way as you described, and it is now working probably. However, I have a concern on the performance of my implementation. Since I am using parallelMultiSearcher to perform the search. I have no idea on which index direc

RE: Re: Help on the ParallelMultiSearcher.rewrite(Query) method

2005-07-08 Thread Terence Lai
Hi Erik, I have implemented the way as you described, and it is now working probably. However, I have a concern on the performance of my implementation. Since I am using parallelMultiSearcher to perform the search. I have no idea on which index directory is corresponding to the document that I

Re: Help on the ParallelMultiSearcher.rewrite(Query) method

2005-07-07 Thread Erik Hatcher
Terence - you need to do the rewrite using the appropriate IndexReader for a single index. You can use query.rewrite(IndexReader). Erik On Jul 7, 2005, at 3:04 PM, Terence Lai wrote: Hi all, I am currently using Lucene 1.4.2. Since my search documents are huge, I divide the search i

Help on the ParallelMultiSearcher.rewrite(Query) method

2005-07-07 Thread Terence Lai
Hi all, I am currently using Lucene 1.4.2. Since my search documents are huge, I divide the search index into different index directory and make use of the ParallelMultiSearcher to perform the search. Currently, I am working on the highlight feature using Lucene Sandbox Highlighter. One of the