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

ASF GitHub Bot commented on SOLR-8721:
--------------------------------------

Github user mariusneo commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/16#discussion_r54334700
  
    --- Diff: 
solr/core/src/java/org/apache/solr/handler/component/DebugComponent.java ---
    @@ -177,7 +176,7 @@ public void modifyRequest(ResponseBuilder rb, 
SearchComponent who, ShardRequest
             }
           }
         } else {
    -      sreq.params.set(CommonParams.DEBUG_QUERY, "false");
    +      sreq.params.set(CommonParams.DEBUG_QUERY, rb.isDebugAll() ? "true" : 
"false");
    --- End diff --
    
    This may look cumbersome, but it is needed in order to be able pass the 
"debugQuery" parameter to the shard in case that the query is distributed and 
doesn't return any results.


> Add Solr version to debug response
> ----------------------------------
>
>                 Key: SOLR-8721
>                 URL: https://issues.apache.org/jira/browse/SOLR-8721
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>            Reporter: Erik Hatcher
>            Assignee: Erik Hatcher
>            Priority: Minor
>
> In troubleshooting customer issues, often they'll send send a Solr debug=true 
> output.  It'd be helpful to have more information, such as the Solr version 
> number, in the response.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to