Hi,

I have a collection with 12 shards using the compositeId router and find
that the real-time get always throws an exception 'Can't find shard'. The
get works if I specify the exact /collection_shardX_replica1. I specify the
'id' and '_route_' params, for example /collection/get?id=test&_route_=test1

org.apache.solr.common.SolrException;
null:org.apache.solr.common.SolrException: Can't find shard
'ip_0_2017_q1_shard3'
        at
org.apache.solr.handler.component.RealTimeGetComponent.sliceToShards(RealTimeGetComponent.java:536)
        at
org.apache.solr.handler.component.RealTimeGetComponent.createSubRequests(RealTimeGetComponent.java:483)
        at
org.apache.solr.handler.component.RealTimeGetComponent.distributedProcess(RealTimeGetComponent.java:439)
        at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:345)
        at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:166)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:2306)
        at
org.apache.solr.servlet.HttpSolrCall.execute(HttpSolrCall.java:658)
        at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:464)
        at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:345)
        at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:296)

I assume this is a bug.

Cheers,
Damien.

Reply via email to