[
https://issues.apache.org/jira/browse/LUCENE-7734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15904415#comment-15904415
]
David Smiley commented on LUCENE-7734:
--------------------------------------
So I'm in the middle of a cherry pick from master to branch_6x when I see that,
surprise surprise, {{IndexableFieldType}} in 6x does not define
{{numericType()}} or {{numericPrecisionStep()}} (both deprecated things
associated with legacy numerics). I could add an {{instanceof FieldType}} and
cast to this copy constructor on 6x. Or, just let this be a 7x thing. I could
go either way but I'm inclined to just let it be 7x. If I don't hear any
opinion further then I'll simply move the changes.txt entry to 7.0 and not
touch 6x.
> FieldType copy constructor should accept IndexableFieldType
> -----------------------------------------------------------
>
> Key: LUCENE-7734
> URL: https://issues.apache.org/jira/browse/LUCENE-7734
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: David Smiley
> Assignee: David Smiley
> Priority: Minor
> Attachments: LUCENE_7734.patch
>
>
> {{FieldType}} is a concrete implementation of {{IndexableFieldType}}. It has
> a copy-constructor but it demands a {{FieldType}}. It should accept
> {{IndexableFieldType}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]