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 <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]
Taipei , Taiwan.
-----------------------------------------------------------


2007/4/29, Erick Erickson <[EMAIL PROTECTED]>:
> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to