You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by David Smiley <da...@gmail.com> on 2019/07/03 19:11:41 UTC

Re: SolrCloud - "[not a shard request]" is returned when search request is short circuited

Sounds like a bug to me; please do file an issue.

~ David Smiley
Apache Lucene/Solr Search Developer
http://www.linkedin.com/in/davidwsmiley


On Fri, Jun 28, 2019 at 7:24 PM gopikannan <go...@gmail.com> wrote:

> Hello,
>    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.
> Please let me know if I  submit a JIRA.
>
>
> 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]
>
> Thanks
> Gopi
>

Re: SolrCloud - "[not a shard request]" is returned when search request is short circuited

Posted by gopikannan <go...@gmail.com>.
Thanks David, Submitted https://issues.apache.org/jira/browse/SOLR-13595.


On Wed, Jul 3, 2019 at 3:11 PM David Smiley <da...@gmail.com>
wrote:

> Sounds like a bug to me; please do file an issue.
>
> ~ David Smiley
> Apache Lucene/Solr Search Developer
> http://www.linkedin.com/in/davidwsmiley
>
>
> On Fri, Jun 28, 2019 at 7:24 PM gopikannan <go...@gmail.com> wrote:
>
>> Hello,
>>    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.
>> Please let me know if I  submit a JIRA.
>>
>>
>> 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]
>>
>> Thanks
>> Gopi
>>
>