lucene-dev mailing list archives

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

I'm looking at Robert Engels' patches in 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?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message