lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anshum <ansh...@gmail.com>
Subject Re: RamDirectory and FS at the same moment
Date Tue, 24 Nov 2009 07:16:15 GMT
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.janik@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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message