[
https://issues.apache.org/jira/browse/LUCENE-1615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702896#action_12702896
]
Uwe Schindler commented on LUCENE-1615:
---------------------------------------
We know this problem, your fix seems ok (LUCENE-1561).
We did not want to change the Fieldable interface again, so we left omitTf in
the interface but deprecated the methods in AbstractField & Co. In future, the
Fieldable interface should be completely removed for 3.0 and this is a first
step towards it! All references to Fieldable should be replaced by
AbstractField or a better alternative that also has the type in it (see
LUCENE-1597)
> deprecated method used in fieldsReader / setOmitTf()
> ----------------------------------------------------
>
> Key: LUCENE-1615
> URL: https://issues.apache.org/jira/browse/LUCENE-1615
> Project: Lucene - Java
> Issue Type: Improvement
> Components: Index
> Reporter: Eks Dev
> Priority: Trivial
> Attachments: LUCENE-1615.patch
>
>
> setOmitTf(boolean) is deprecated and should not be used by core classes. One
> place where it appears is FieldsReader , this patch fixes it. It was
> necessary to change Fieldable to AbstractField at two places, only local
> variables.
--
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]