lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject TermInfosReader and clone of SegmentTermEnum
Date Wed, 13 Dec 2006 21:53:45 GMT
Hi,

I'm looking at Robert Engels' patches in http://issues.apache.org/jira/browse/LUCENE-436 and
looking at TermInfosReader.
I think I understand why there is ThreadLocal there in the first place - to act as a per-thread
cache for the expensive to compute SegmentTermEnum.... yes?

But why is there is need to clone() the (original) SegmentTermEnum?

Thanks,
Otis




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


Mime
View raw message