lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Baudoux ...@taktik.be>
Subject IndexModifier delete() + add() vs IndexWriter update()
Date Sat, 22 Sep 2007 21:23:08 GMT
Hello everyone,


	I noticed that when updating a large index with IndexModifier (lots  
of delete+add), the bottlenek was the delete. If I only add, speed is  
at least multiplied by 50.
	From what i have understood, its because a new IndexReader is  
initialized for each delete.

	Is the new updateDocument() method from IndexWriter optimized for  
this kind of problem?


	Thanks!
	

--
Antoine Baudoux
Development Manager
ab@taktik.be
Tél.: +32 2 333 58 44
GSM: +32 499 534 538
Fax.: +32 2 648 16 53



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message