lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ganesh" <emailg...@yahoo.co.in>
Subject Reusing Document and Field objects
Date Mon, 18 Jan 2010 09:47:37 GMT
Hello all,

I am indexing millions of documents. The app is single threaded. I need to create Document
and Fields objects repeatedly. I have a thought to create it once and reuse by setting the
field values to null. 

Is this advisable, Will it give any performance improvement?

Regards
Ganesh

  
Send instant messages to your online friends http://in.messenger.yahoo.com 

---------------------------------------------------------------------
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