[
https://issues.apache.org/jira/browse/SOLR-17398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18125585#comment-18125585
]
ASF subversion and git services commented on SOLR-17398:
--------------------------------------------------------
Commit 4c88380c161c31e40f35f9c5ab4e943dbef865f8 in solr's branch
refs/heads/branch_10x from Serhiy Bzhezytskyy
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=4c88380c161 ]
SOLR-17398: Link V1 collection operations to their V2 equivalents (#5053)
(cherry picked from commit 1d7a1e9062734acd37489e85173044d8d974c88a)
> Add Javadoc links from V1 APIs to V2 APIs
> -----------------------------------------
>
> Key: SOLR-17398
> URL: https://issues.apache.org/jira/browse/SOLR-17398
> Project: Solr
> Issue Type: Sub-task
> Components: v2 API
> Reporter: David Smiley
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The Java code for V1 APIs should have a javadoc comment pointing to
> equivalent v2 APIs when it's not obvious (when V1 is not simply calling V2
> and/or they occupy different classes). If V2 doesn't exist yet, a TBD/TODO
> comment is helpful nonetheless.
> For example in CollectionsHandler above the enum entry for CLUSTERSTATUS_OP,
> add:
> {quote}Superceded by V2: \{@link ClusterAPI} and \{@link ListAliasesApi}
> and \{@link CollectionStatusAPI}.
> {quote}
> In that specific case, the ClusterStatus class itself could be marked
> deprecated, albeit that deprecation should perhaps be only for Solr 10 as
> some of such classes will not be removed until Solr 11. Nonetheless a javadoc
> comment saying will be removed in Solr 11 would be very helpful!
> Perhaps in many cases there is no need because V1 tends to call V2.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]