[ 
https://issues.apache.org/jira/browse/SOLR-4816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13658510#comment-13658510
 ] 

Stephen Riesenberg commented on SOLR-4816:
------------------------------------------

Fixed several other NPEs before getting to the code where it uses the 
DocRouter. It looks like the router that is used is the ImplicitDocRouter not 
the HashBasedRouter. So it returns a null Slice. Any idea how to get the 
correct DocRouter for hash-based from the API? Or could we just create a new 
HashBasedRouter instance and use it.
                
> Change CloudSolrServer to send updates to the correct shard
> -----------------------------------------------------------
>
>                 Key: SOLR-4816
>                 URL: https://issues.apache.org/jira/browse/SOLR-4816
>             Project: Solr
>          Issue Type: Improvement
>          Components: SolrCloud
>    Affects Versions: 4.3
>            Reporter: Joel Bernstein
>            Priority: Minor
>         Attachments: SOLR-4816.patch, SOLR-4816.patch, SOLR-4816.patch, 
> SOLR-4816.patch, SOLR-4816-sriesenberg.patch
>
>
> This issue adds a "directUpdate" method to CloudSolrServer which routes 
> update requests to the correct shard. This would be a nice feature to have to 
> eliminate the document routing overhead on the Solr servers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to