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 <[email protected]> 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
>

Reply via email to