Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D0E70F76C for ; Sun, 7 Apr 2013 13:44:31 +0000 (UTC) Received: (qmail 63401 invoked by uid 500); 7 Apr 2013 13:44:28 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 63209 invoked by uid 500); 7 Apr 2013 13:44:27 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 63185 invoked by uid 99); 7 Apr 2013 13:44:27 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Apr 2013 13:44:27 +0000 X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_ENVFROM_END_DIGIT,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Apr 2013 13:44:22 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UOpt3-0001Hl-GO for solr-user@lucene.apache.org; Sun, 07 Apr 2013 06:44:01 -0700 Date: Sun, 7 Apr 2013 06:44:01 -0700 (PDT) From: bradhill99 To: solr-user@lucene.apache.org Message-ID: <1365342241495-4054343.post@n3.nabble.com> In-Reply-To: <1365319183.9273.140661214369429.099AB0D0@webmail.messagingengine.com> References: <1365244089908-4054193.post@n3.nabble.com> <1365319183.9273.140661214369429.099AB0D0@webmail.messagingengine.com> Subject: Re: Does solr cloud support rename or swap function for collection? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I think the api is : http://localhost:8983/solr/admin/collections?action=CREATEALIAS&name=alias&collections=collection1,collection2,... And you can do query like: http://localhost:8983/solr/alias/select?... And it will query collection1 and collection2. I tried it using solr 4.2.1, it works. Thanks Mark for this great feature but I suggest you can update the wiki too. thanks, Brad -- View this message in context: http://lucene.472066.n3.nabble.com/Does-solr-cloud-support-rename-or-swap-function-for-collection-tp4054193p4054343.html Sent from the Solr - User mailing list archive at Nabble.com.