On Nov 8, 2007 12:44 AM, Chris Lu <[EMAIL PROTECTED]> wrote: > In Term object, there are variables "field" and "text". > My question is, why variable "text" can not be intern() ? > > Wouldn't it save some memory, especially in the FieldCache?
The FieldCache already stores only one string per term, regardless of how many documents contain that term. -Yonik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]