lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson" <erickerick...@gmail.com>
Subject Re: batch indexing
Date Wed, 02 May 2007 12:40:57 GMT
For some intermediate period of time when indexing, the document are
buffered in RAM. There is a complex interplay between several of the
parameters to an IndexWriter that govern how many documents are
indexed in RAM before being flushed to the FSDirectory.

Of course, if you specify a RAMdirectory, it's never written to disk.
But if you specify an FSDirectory, as you write the index some
number of documents are indexed in RAM, then flushed to
disk.

Search the archives and particularly look at the thread titled for
more detailed information.....

"MergeFactor and MaxBufferedDocs value should ...?"


Best
Erick

On 5/2/07, Chris <chrislin0426@gmail.com> wrote:
>
> Sorry , ask a question.
> You say FSDirectory is RADdirectory as least until it flushes.
>
> I cannot understand your means . May you please teach me what it means?
>
> FSDirectory stored in filesystem  , and RADdirectory stored in RAM.
> MergeFactor and MaxBufferedDocs  settings are limited and controlled
> the max docs and size with the tempory Indexing action?
>
> If I am fault , tell me , please . Thank you.
>
> =============================
> Chris Lin
> http://search20.portal20.com.tw
> chrislin@pchome.com.tw
> Taipei , Taiwan.
> -----------------------------------------------------------
>
>
> 2007/4/29, Erick Erickson <erickerickson@gmail.com>:
> > As I understand it, FSDirectory *is* RAMdirectory, at least until
> > it flushes. There have been several discussions of this,
> > search the mail archive for things like MergeFactor, MaxBufferedDocs
> > and the like. You'll find quite a bit of information about how these
> > parameters interact.
>
> ---------------------------------------------------------------------
> 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