low level Field metadata is never removed from index
----------------------------------------------------
Key: LUCENE-1761
URL: https://issues.apache.org/jira/browse/LUCENE-1761
Project: Lucene - Java
Issue Type: Bug
Components: Index
Affects Versions: 2.4.1, 2.4, 2.3.2, 2.3.1, 2.3, 2.2
Reporter: Hoss Man
Priority: Minor
Attachments: LUCENE-1761.patch
with heterogeneous docs, or an index whose fields evolve over time, field names
that are no longer used (ie: all docs that ever referenced them have been
deleted) still show up when you use IndexReader.getFieldNames.
It seems logical that segment merging should only preserve metadata about
fields that actually existing the new segment, but even after deleting all
documents from an index and optimizing the old field names are still present.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]