You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Felipe Lobo <fe...@jusbrasil.com.br> on 2009/10/07 22:48:27 UTC

Reducing memory use!

Hi,
i read in some places that reusing the Document e Field instances reduces
the memory use when indexing, is that true??
but looked into Field class, it can only set the name, value and the other
params on the constructor, they dont have a set method.
if reuse them really reduces memory use, how do i do that?

Thanks,

-- 
Felipe Lobo
www.jusbrasil.com.br