[
https://issues.apache.org/jira/browse/SOLR-17686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17933691#comment-17933691
]
ASF subversion and git services commented on SOLR-17686:
--------------------------------------------------------
Commit e668dceb6bec0b838d5f1e045483432abd6b6612 in solr's branch
refs/heads/deprecations from Jeanie Lam
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=e668dceb6be ]
SOLR-17686: Rename SearchHandler.stageInEnglish to stageToString and make it
protected and non-static (#3224)
> Getting the str representation of distributed stage throws when stage is a
> custom one
> -------------------------------------------------------------------------------------
>
> Key: SOLR-17686
> URL: https://issues.apache.org/jira/browse/SOLR-17686
> Project: Solr
> Issue Type: Bug
> Affects Versions: 9.8
> Reporter: Jeanie Lam
> Assignee: Christine Poerschke
> Priority: Minor
> Labels: pull-request-available
> Fix For: 9.9, 9.8.1
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> [https://github.com/apache/solr/pull/2859] from SOLR-17151 adds a new private
> static method
> {{[stageInEnglish|https://github.com/apache/solr/blob/8bf0100e502ade4b8161e4b90f762b117a6ef442/solr/core/src/java/org/apache/solr/handler/component/SearchHandler.java#L714]}}
> that converts a distributed stage to a string for logging purposes.
> This method throws when the stage is not one recognized by the switch
> statement, i.e. a custom stage.
> A solution could be to make {{stageInEnglish}} protected and non-static
> instead so users with custom stage(s) could override it.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]