gopikannan venugopalsamy created SOLR-13595:
-----------------------------------------------

             Summary: SolrCloud - "[not a shard request]" is returned when 
search request is short circuited
                 Key: SOLR-13595
                 URL: https://issues.apache.org/jira/browse/SOLR-13595
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: gopikannan venugopalsamy


 If the collection has only one shard/replica or in case when _route_ param 
points to the hosted core,  [shard] field in response is set to  "[not a shard 
request]". 
 
When short-circuiting in below code "shard.url" is not populated in request 
param.
 
[https://github.com/apache/lucene-solr/blob/301ea0e4624c2bd693fc034a801c4abb91cba299/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandler.java#L405]
 
[http://localhost:8983/solr/collection1/selct?q=*:*&fl=[shard]]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to