Re: Using ParallelReader over large immutable index and small updatable index

2007-03-07 Thread Joe Shaw
Hi, On Tue, 2007-03-06 at 15:34 -0500, Andy Liu wrote: > Is there a working solution out there that would let me use ParallelReader > to search over a large, immutable index and a smaller, auxillary index that > is updated frequently? Currently, from my understanding, the ParallelReader > fails

Re: Using ParallelReader over large immutable index and small updatable index

2007-03-07 Thread Andy Liu
From my understanding, MultiSearcher is used to combine two indexes that have the same fields but different documents. ParallelReader is used to combine two indexes that have same documents but different fields. I'm trying to do the latter. Is my understanding correct? For example, what I'm t

RE: Using ParallelReader over large immutable index and small updatable index

2007-03-06 Thread Alexey Lef
We use MultiSearcher for a similar scenario. This way you can keep the Searcher/Reader for the read-only index alive and refresh the small index Searcher whenever an update is made. If you have any cached filters, they are mapped to a Reader, so the cached filters for the big index will stay ali