Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
New
Description
In previous versions of Lucene, interning of fields was important to minimize string comparison cost when iterating TermEnums, to detect changes in field name. As we separated field names from terms in flex, no query compares field names anymore, so the whole performance problematic interning can be removed. I will start with doing this, but we need to carefully review some places e.g. in preflex codec.
Maybe before this issue we should remove the Term class completely. Robert?
Attachments
Attachments
Issue Links
- is related to
-
LUCENE-3105 String.intern() calls slow down IndexWriter.close() and IndexReader.open() for index with large number of unique field names
- Resolved
-
LUCENE-2545 improve uses of StringHelper.intern in Field,AbstractField, NumericField etc.
- Open