Performance problem with IndexWriter

2008-01-12 Thread Hans-Peter Stricker
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 = 1, number of documents to index < 1, flus

Re: Performance problem with IndexWriter

2008-01-12 Thread Erick Erickson
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 t

Re: Performance problem with IndexWriter

2008-01-12 Thread Hans-Peter Stricker
Hello Erick, it's an average, definitely. Best Hans-Peter - Original Message - From: "Erick Erickson" <[EMAIL PROTECTED]> To: Sent: Saturday, January 12, 2008 2:20 PM Subject: Re: Performance problem with IndexWriter Is this just the first document or is