Hello Erick,

it's an average, definitely.

Best
Hans-Peter

----- Original Message ----- From: "Erick Erickson" <[EMAIL PROTECTED]>
To: <java-user@lucene.apache.org>
Sent: Saturday, January 12, 2008 2:20 PM
Subject: Re: Performance problem with IndexWriter


Is this just the first document or is it an average? I can imagine that
initialization happens at different times under different machines...

Best
Erick

On Jan 12, 2008 6:34 AM, Hans-Peter Stricker <[EMAIL PROTECTED]> wrote:

Hello,

I have a strange problem: the very same call executes 10 times faster
under
Windows than under Linux: The line

writer.addDocument(doc)

takes (with the very same documents) < 1ms under Windows, but > 10ms under
Linux. maxBufferedDocs = 10000, number of documents to index < 10000,
flushing takes place only one time (after the last indexed doc), there is
enough RAM. My Linux sys admin confirms that everybody seems normal on the
Linux machine: process priority, RAM, ...

Has anybody encoutered this problem before?

Thanks for any hint.

Hans-Peter


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to