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?

-- 
Chris Lu
-------------------------
Instant Scalable Full-Text Search On Any Database/Application
site: http://www.dbsight.net
demo: http://search.dbsight.com
Lucene Database Search in 3 minutes:
http://wiki.dbsight.com/index.php?title=Create_Lucene_Database_Search_in_3_minutes

Reply via email to