[
https://issues.apache.org/jira/browse/LUCENE-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648119#action_12648119
]
Michael McCandless commented on LUCENE-1456:
--------------------------------------------
Indeed we should just remove both FieldInfo.add(FIeldInfo) and
update(FieldInfo) -- they are dead code.
I had added these early on when refactoring DocumentsWriter but then I
refactored further, to not actually call them, but forgot to remove them.
> FieldInfo omitTerms bug
> -----------------------
>
> Key: LUCENE-1456
> URL: https://issues.apache.org/jira/browse/LUCENE-1456
> Project: Lucene - Java
> Issue Type: Bug
> Reporter: Mark Miller
> Priority: Minor
>
> Around line 95 you have:
> if (this.omitTf != omitTf) {
> this.omitTf = true; // if one require omitTf at least
> once, it remains off for life
> }
> Both references of the omitTf booleans in the if statement refer to the same
> field. I am guessing its meant to be other.omitTf like the norms code above
> it.
--
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]