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

Mark Miller commented on SOLR-5380:
-----------------------------------

The problem was that no collection parameter was set for the request in the 
case of using the default collection. Because of this, the alias used as the 
default collection was no propagated.

Because it's difficult to update the params for the request, I chose to change 
how we create urls in the default collection case - rather than using base_url 
+ core_name, I use base_url + default collection. SolrDispatchFilter then 
handles the rest.

> Using cloudSolrServer.setDefaultCollection(collectionId) does not work as 
> intended for an alias spanning more than 1 collection.
> --------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-5380
>                 URL: https://issues.apache.org/jira/browse/SOLR-5380
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 4.6, 5.0
>
>         Attachments: SOLR-5380.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to