Hi Rafal,

If what I understand about your implementation is correct, you could try a
parallelmultisearcher
http://lucene.apache.org/java/2_9_1/api/core/org/apache/lucene/search/ParallelMultiSearcher.html

--
Anshum Gupta
Naukri Labs!
http://ai-cafe.blogspot.com

The facts expressed here belong to everybody, the opinions to me. The
distinction is yours to draw............


2009/11/24 Rafal Janik <rafal.ja...@softwaremind.pl>

> Hi all!
> i've just started my adventure with Lucene i've got one question  regarding
> indexing.
> Does Lucene have got built-in mechanism to store indexes first in RAM and
> after some time or after some number of documents added to move them to FS?
> And searching docs all the time in both  'storages' ?
> I know the one reason is to use RAMDirectory  and FS and move the indexes
> 'by hand' but to do it i need two IndexWriters and two indexSearchers so  i
> have to  join results. Is there any better way to do it?
>
> rafal
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

Reply via email to