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.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

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

Reply via email to