lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-5380) Using cloudSolrServer.setDefaultCollection(collectionId) does not work as intended for an alias spanning more than 1 collection.
Date Wed, 23 Oct 2013 16:37:43 GMT

    [ 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message