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 CED3617923 for ; Wed, 11 Mar 2015 20:33:28 +0000 (UTC) Received: (qmail 75285 invoked by uid 500); 11 Mar 2015 20:33:24 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 75208 invoked by uid 500); 11 Mar 2015 20:33:24 -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 75195 invoked by uid 99); 11 Mar 2015 20:33:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Mar 2015 20:33:23 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nitinmlvya@gmail.com designates 209.85.213.49 as permitted sender) Received: from [209.85.213.49] (HELO mail-yh0-f49.google.com) (209.85.213.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Mar 2015 20:33:19 +0000 Received: by yhot59 with SMTP id t59so5846678yho.7 for ; Wed, 11 Mar 2015 13:31:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=vQ7/3CVyMwedUpZAmlwJK3vV39y5QO9iMYCz6t0eMu0=; b=PioyaKJ9mvcIqEvjHZ17p4Xx3kynL5VqsAQZaI54+DgYINoG5+4E7fV/MpqgFksxR7 S2kFrxkIUV91sVSyBDDTkNGLcWwQiZJEvNTwNcgIU0GwXjl1sol+zPcgmB+qNTaU38kv IH+5n5qjGUHkW2oXBLQZHClbscttrD1j4e9h4QcOStydlEVnXE3kTWGvAVk9kvAWSWJ4 jHjw5WFz8xMg6exVS+a2z5qP2fKn3N+vwLBS3buW2Mb31N62pwlhHTs/ggy6s22eBbGv tuZBD8oynvo6uiPoVlzwcq64kHwUKasT8/psmyGNuxfXnFzelWyiUh39b3sNH4pNkgaO TTsw== MIME-Version: 1.0 X-Received: by 10.170.54.196 with SMTP id 187mr1159489ykw.84.1426105888608; Wed, 11 Mar 2015 13:31:28 -0700 (PDT) Received: by 10.170.103.139 with HTTP; Wed, 11 Mar 2015 13:31:28 -0700 (PDT) In-Reply-To: References: Date: Thu, 12 Mar 2015 02:01:28 +0530 Message-ID: Subject: Re: Where is schema.xml and solrconfig.xml in solr 5.0.0 From: Nitin Solanki To: solr-user@lucene.apache.org Content-Type: multipart/alternative; boundary=001a11395ddee717210511092644 X-Virus-Checked: Checked by ClamAV on apache.org --001a11395ddee717210511092644 Content-Type: text/plain; charset=UTF-8 Thanks a lot Erick.. It will be helpful. On Wed, Mar 11, 2015 at 9:27 PM, Erick Erickson wrote: > The configs are in Zookeeper. So you have to switch your thinking, > it's rather confusing at first. > > When you create a collection, you specify a "config set", these are > usually in > > ./server/solr/configsets/data_driven_schema, > ./server/solr/configsets/techproducts and the like. > > The entire conf directory under one of these is copied to Zookeeper > (which you can see > from the admin screen cloud>>tree, then in the right hand side you'll > be able to find the config sets > you uploaded. > > But, you cannot edit them there directly. You edit them on disk, then > push them to Zookeeper, > then reload the collection (or restart everything). See the reference > guide here: > https://cwiki.apache.org/confluence/display/solr/Command+Line+Utilities > > Best, > Erick > > On Wed, Mar 11, 2015 at 6:01 AM, Nitin Solanki > wrote: > > Hi, alexandre.. > > > > Thanks for responding... > > When I created new collection(wikingram) using solrCloud. It gets create > > into example/cloud/node*(node1, node2) like that. > > I have used *schema.xml and solrconfig.xml of > sample_techproducts_configs* > > configuration. > > > > Now, The problem is that. > > If I change the configuration of *solrconfig.xml of * > > *sample_techproducts_configs*. Its configuration doesn't reflect on > > *wikingram* collection. > > How to reflect the changes of configuration in the collection? > > > > On Wed, Mar 11, 2015 at 5:42 PM, Alexandre Rafalovitch < > arafalov@gmail.com> > > wrote: > > > >> Which example are you using? Or how are you creating your collection? > >> > >> If you are using your example, it creates a new directory under > >> "example". If you are creating a new collection with "-c", it creates > >> a new directory under the "server/solr". The actual files are a bit > >> deeper than usual to allow for a log folder next to the collection > >> folder. So, for example: > >> "example/schemaless/solr/gettingstarted/conf/solrconfig.xml" > >> > >> If it's a dynamic schema configuration, you don't actually have > >> schema.xml, but managed-schema, as you should be mostly using REST > >> calls to configure it. > >> > >> If you want to see the configuration files before the collection > >> actually created, they are under "server/solr/configsets", though they > >> are not configsets in Solr sense, as they do get copied when you > >> create your collections (sharing them causes issues). > >> > >> Regards, > >> Alex. > >> ---- > >> Solr Analyzers, Tokenizers, Filters, URPs and even a newsletter: > >> http://www.solr-start.com/ > >> > >> > >> On 11 March 2015 at 07:50, Nitin Solanki wrote: > >> > Hello, > >> > I have switched from solr 4.10.2 to solr 5.0.0. In solr > >> > 4-10.2, schema.xml and solrconfig.xml were in example/solr/conf/ > folder. > >> > Where is schema.xml and solrconfig.xml in solr 5.0.0 ? and also want > to > >> > know how to configure in solrcloud ? > >> > --001a11395ddee717210511092644--