[
https://issues.apache.org/jira/browse/SOLR-17686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17931311#comment-17931311
]
Houston Putman commented on SOLR-17686:
---------------------------------------
[~cpoerschke] sounds good to me if you want to get this in by next week!
> 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
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 10m
> 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]