Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 094AE18BEE for ; Sat, 9 May 2015 04:05:34 +0000 (UTC) Received: (qmail 51082 invoked by uid 500); 9 May 2015 04:05:33 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 51020 invoked by uid 500); 9 May 2015 04:05:33 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 51009 invoked by uid 99); 9 May 2015 04:05:33 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 May 2015 04:05:33 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 03AC4C12C9 for ; Sat, 9 May 2015 04:05:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.898 X-Spam-Level: ** X-Spam-Status: No, score=2.898 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id F4XdSxisBovN for ; Sat, 9 May 2015 04:05:32 +0000 (UTC) Received: from mail-ig0-f172.google.com (mail-ig0-f172.google.com [209.85.213.172]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id E2AAC2123F for ; Sat, 9 May 2015 04:05:31 +0000 (UTC) Received: by igbsb11 with SMTP id sb11so36646773igb.0 for ; Fri, 08 May 2015 21:05:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=D7C64as2Zn+tNEkriKB1HaSSSw2JW+AyHuiYFCkrx4Q=; b=x5mqSkgUIs8qt+FH0kJWC6vPjTS5Gi7FAoLuLg8iJhSLcwQwlqJboxuyDTPjA5lDEw iJN93ex2jaO7mPwA3i+ARzGJQJD8QF+JunDf7vOLvHf4bUbORZ3CJXIZ9APNQqmzcPxk 4+3Oibri7c52EM+DoiW2Ekj/9Cz2CWOCAQuggdG2j1V5+aXGB++WJAM++JstHaIa7R4c 84U1FOp9zswETXK/JjHgAjk7bY29dklGL2zJhrsBIdnwrfNZNCrYQE9J33zAVWFCIsVi nLgyBJlzv6L3mLhkJsW3PGNOv5jvR23sNq/qYXrXyVFebuP2FPfOmcu36znnBeF6j6MW vJOw== MIME-Version: 1.0 X-Received: by 10.50.21.1 with SMTP id r1mr2783316ige.46.1431144331373; Fri, 08 May 2015 21:05:31 -0700 (PDT) Received: by 10.36.77.4 with HTTP; Fri, 8 May 2015 21:05:31 -0700 (PDT) Date: Fri, 8 May 2015 21:05:31 -0700 Message-ID: Subject: Configsets and Config APIs in Solr From: =?UTF-8?B?VG9tw6FzIEZlcm7DoW5kZXogTMO2YmJl?= To: dev@lucene.apache.org Content-Type: multipart/alternative; boundary=047d7b6d8f947e739105159e416e --047d7b6d8f947e739105159e416e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I think the concept of ConfigSets has become a bit confusing with the Config APIs (I'm thinking in SolrCloud mode here). Solr requires that a configset is pushed to ZooKeeper before creating a collection that uses it. It supports multiple collections using the same configset, which I think is great. You could also have a couple of configsets that no collection is currently using (who knows, maybe one that was recently deprecated, or that will be used soon, etc). This gives me the idea that configsets are a separate entity than the collection, not just a collection's configuration. Config APIs allow you to operate on a collection to add handlers, change settings, etc. The problem is that you are not really applying the changes to the collection but to the complete configset. All collections using it will get the changes, and all of them will be reloaded after a change. Shouldn't those APIs be at a different level/outside the collection? Maybe a configset API? Or, maybe the configs (for example, the configoverlay.json) should only apply to the collection where the API call was made and not to other collections using the configset? Tom=C3=A1s --047d7b6d8f947e739105159e416e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I think the concept of ConfigSets has become a bit co= nfusing with the Config APIs (I'm thinking in SolrCloud mode here). Sol= r requires that a configset is pushed to ZooKeeper before creating a collec= tion that uses it. It supports multiple collections using the same configse= t, which I think is great. You could also have a couple of configsets that = no collection is currently using (who knows, maybe one that was recently de= precated, or that will be used soon, etc). This gives me the idea that conf= igsets are a separate entity than the collection, not just a collection'= ;s configuration.

Config APIs allow you to operate on a collection t= o add handlers, change settings, etc. The problem is that you are not reall= y applying the changes to the collection but to the complete configset. All= collections using it will get the changes, and all of them will be reloade= d after a change.

Shouldn't those APIs be at a different level/o= utside the collection? Maybe a configset API? Or, maybe the configs (for ex= ample, the configoverlay.json) should only apply to the collection where th= e API call was made and not to other collections using the configset?

Tom=C3=A1s
--047d7b6d8f947e739105159e416e--