You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Christine Poerschke (Jira)" <ji...@apache.org> on 2025/02/27 16:20:00 UTC

[jira] [Commented] (SOLR-17686) Getting the str representation of distributed stage throws when stage is a custom one

    [ https://issues.apache.org/jira/browse/SOLR-17686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17931223#comment-17931223 ] 

Christine Poerschke commented on SOLR-17686:
--------------------------------------------

[~tboeghk]'s SOLR-17337 was also about custom stages.

Perhaps a fix for this issue here would be a candidate for making the 9.8.1 release? cc: [~houston] as release manager.

> 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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org