[
https://issues.apache.org/jira/browse/SOLR-18111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Pugh updated SOLR-18111:
-----------------------------
Description:
We have a set of various legacy field types like LegacyLongField and
LegacyInField that should not be used in favour of better implementations like
LongPoint and IntPoint.
In order to remove them, you also need to deal with BBoxStrategy,
BBoxValueSource, and some other classes that depend on these legacy fields
existing.
One nuance is that there may be value in keeping these legacy fields, and if
so, then the right answer is to undeprecate them. And instead leave the
annotation that you SHOULD be using IntPoint. However, considering our ref
guide section on "How to pick numeric types" doesn't even mention these:
[https://solr.apache.org/guide/solr/latest/indexing-guide/field-type-definitions-and-properties.html#choosing-appropriate-numeric-types]
then I think they are fair game to be removed.
was:
We have a set of various legacy field types like LegacyLongField and
LegacyInField that should not be used in favour of better implementations like
LongPoint and IntPoint.
One nuance is that there may be value in keeping these legacy fields, and if
so, then the right answer is to undeprecate them. And instead leave the
annotation that you SHOULD be using IntPoint. However, considering our ref
guide section on "How to pick numeric types" doesn't even mention these:
[https://solr.apache.org/guide/solr/latest/indexing-guide/field-type-definitions-and-properties.html#choosing-appropriate-numeric-types]
then I think they are fair game to be removed.
> Remove org.apache.solr.legacy.Legacy* Field Types
> -------------------------------------------------
>
> Key: SOLR-18111
> URL: https://issues.apache.org/jira/browse/SOLR-18111
> Project: Solr
> Issue Type: Sub-task
> Reporter: Eric Pugh
> Priority: Major
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> We have a set of various legacy field types like LegacyLongField and
> LegacyInField that should not be used in favour of better implementations
> like LongPoint and IntPoint.
> In order to remove them, you also need to deal with BBoxStrategy,
> BBoxValueSource, and some other classes that depend on these legacy fields
> existing.
> One nuance is that there may be value in keeping these legacy fields, and if
> so, then the right answer is to undeprecate them. And instead leave the
> annotation that you SHOULD be using IntPoint. However, considering our ref
> guide section on "How to pick numeric types" doesn't even mention these:
> [https://solr.apache.org/guide/solr/latest/indexing-guide/field-type-definitions-and-properties.html#choosing-appropriate-numeric-types]
> then I think they are fair game to be removed.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]