You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "gopikannan venugopalsamy (JIRA)" <ji...@apache.org> on 2019/07/01 19:07:00 UTC
[jira] [Created] (SOLR-13595) SolrCloud - "[not a shard request]"
is returned when search request is short circuited
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org