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 B5F0A10429 for ; Wed, 23 Jul 2014 12:56:18 +0000 (UTC) Received: (qmail 59373 invoked by uid 500); 23 Jul 2014 12:56:14 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 59302 invoked by uid 500); 23 Jul 2014 12:56:14 -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 59290 invoked by uid 99); 23 Jul 2014 12:56:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2014 12:56:14 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aurelien.mazoyer@francelabs.com designates 46.105.76.65 as permitted sender) Received: from [46.105.76.65] (HELO mo6.mail-out.ovh.net) (46.105.76.65) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2014 12:56:08 +0000 Received: from mail188.ha.ovh.net (gw6.ovh.net [213.251.189.206]) by mo6.mail-out.ovh.net (Postfix) with SMTP id A036EFFA4EE for ; Wed, 23 Jul 2014 14:55:43 +0200 (CEST) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 23 Jul 2014 14:55:43 +0200 Received: from 35-144-190-109.dsl.ovh.fr (HELO ?192.168.0.82?) (aurelien.mazoyer@francelabs.com@109.190.144.35) by ns0.ovh.net with SMTP; 23 Jul 2014 14:55:34 +0200 Message-ID: <53CFB0C0.20809@francelabs.com> Date: Wed, 23 Jul 2014 14:55:28 +0200 From: =?ISO-8859-1?Q?Aur=E9lien_MAZOYER?= User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: solr-user@lucene.apache.org Subject: Passivate core in Solr Cloud Content-Type: multipart/alternative; boundary="------------000701010100030303000503" X-Ovh-Tracer-Id: 12737868598092351663 X-Ovh-Remote: 109.190.144.35 (35-144-190-109.dsl.ovh.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: 0 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejfedrgedvucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu X-Spam-Check: DONE|U 0.685481/N X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 0 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeejfedrgedvucetufdoteggodetrfcurfhrohhfihhlvgemucfqggfjnecuuegrihhlohhuthemuceftddtnecu X-Virus-Checked: Checked by ClamAV on apache.org --------------000701010100030303000503 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, We want to setup a Solr Cloud cluster in order to handle a high volume of documents with a multi-tenant architecture. The problem is that an application-level isolation for a tenant (using a mutual index with a field "customer") is not enough to fit our requirements. As a result, we need 1 collection/customer. There is more than a thousand customers and it seems unreasonable to create thousands of collections in Solr Cloud... But as we know that there are less than 1 query/customer/day, we are currently looking for a way to passivate collection when they are not in use. Can it be a good idea? If yes, are there best practices to implement this? What side effects can we expect? Do we need to put some application-level logic on top on the Solr Cloud cluster to choose which collection we have to unload (and maybe there is something smarter (and quicker?) than simply loading/unloading the core when it is not in used?) ? Thank you for your answer(s), Aurelien --------------000701010100030303000503--