You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "kkewwei (Jira)" <ji...@apache.org> on 2021/06/11 08:44:00 UTC
[jira] [Created] (LUCENE-9998) The param 'fis' in
StoredFieldsWriter.finish(FieldInfos fis, int numDocs) is never used
kkewwei created LUCENE-9998:
-------------------------------
Summary: The param 'fis' in StoredFieldsWriter.finish(FieldInfos fis, int numDocs) is never used
Key: LUCENE-9998
URL: https://issues.apache.org/jira/browse/LUCENE-9998
Project: Lucene - Core
Issue Type: Improvement
Components: core/codecs
Reporter: kkewwei
We can see the `FieldInfos fis` in StoredFieldsWriter.finish(FieldInfos fis, int numDocs) is never used.
The class has four subclasses: Lucene90CompressingStoredFieldsWriter,Lucene50CompressingStoredFieldsWriter,CrankyStoredFieldsWriter,SimpleTextStoredFieldsWriter. the function `finish` in all four subclasses never use `fis`, if we could remove it from the function.
The same situation with the function `finish` in TermVectorsWriter.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org