<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Schema.xml for new collection in CloudEra search in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Schema-xml-for-new-collection-in-CloudEra-search/m-p/1603#M251</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have installed cloudera search using RPMs on Cent OS and able to work on flume NRT as well. I had to add a&amp;nbsp; new fileld to the existing collection in order to support the same while indexing the data. I want to know, how and from where the schema.xml is picked up for a collection.? and how can we change the schema after creating the collection for the first time. I have tried changing schema.xml in various places, but nothing seems to be working..&lt;/P&gt;&lt;DIV class="yj6qo ajU"&gt;&lt;DIV class="ajR"&gt;&lt;IMG src="https://ip1.i.lithium.com/54badf6b72c4f3e31c60651fdaa4e729e80d5ea7/68747470733a2f2f6d61696c2e676f6f676c652e636f6d2f6d61696c2f752f302f696d616765732f636c656172646f742e676966" border="0" /&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 16 Sep 2022 08:47:54 GMT</pubDate>
    <dc:creator>Srini_D</dc:creator>
    <dc:date>2022-09-16T08:47:54Z</dc:date>
    <item>
      <title>Schema.xml for new collection in CloudEra search</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Schema-xml-for-new-collection-in-CloudEra-search/m-p/1603#M251</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have installed cloudera search using RPMs on Cent OS and able to work on flume NRT as well. I had to add a&amp;nbsp; new fileld to the existing collection in order to support the same while indexing the data. I want to know, how and from where the schema.xml is picked up for a collection.? and how can we change the schema after creating the collection for the first time. I have tried changing schema.xml in various places, but nothing seems to be working..&lt;/P&gt;&lt;DIV class="yj6qo ajU"&gt;&lt;DIV class="ajR"&gt;&lt;IMG src="https://ip1.i.lithium.com/54badf6b72c4f3e31c60651fdaa4e729e80d5ea7/68747470733a2f2f6d61696c2e676f6f676c652e636f6d2f6d61696c2f752f302f696d616765732f636c656172646f742e676966" border="0" /&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:47:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Schema-xml-for-new-collection-in-CloudEra-search/m-p/1603#M251</guid>
      <dc:creator>Srini_D</dc:creator>
      <dc:date>2022-09-16T08:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: Schema.xml for new collection in CloudEra search</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Schema-xml-for-new-collection-in-CloudEra-search/m-p/1613#M252</link>
      <description>&lt;P&gt;Hey Srini,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When you first created the collection, you ran a command similar to:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- solrctl instancedir --generate $HOME/solr_configs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This command was what created the configs that you imported for solr. &amp;nbsp;You can see the various configs by running:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- solrctl instancedir --list&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then pick the config that goes with your collection and run:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- solrctl instancedir --get &amp;lt;name_from_list&amp;gt; /path/to/local_fs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then change the schema.xml in /path/to/local_fs/conf and run:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- solrctl instancedir --update &amp;lt;name_from_list&amp;gt; /path/to/local_fs&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then the schema will get updated. &amp;nbsp;Note, when you update the schema, you have to reindex all your documents or else they won't have indexes for the latest schema changes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2013 14:53:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Schema-xml-for-new-collection-in-CloudEra-search/m-p/1613#M252</guid>
      <dc:creator>cconner</dc:creator>
      <dc:date>2013-09-18T14:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Schema.xml for new collection in CloudEra search</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Schema-xml-for-new-collection-in-CloudEra-search/m-p/1621#M253</link>
      <description>Wrt. morphline commands, the Solr schema is fetched from wherever the SolrLocator is pointing to: &lt;A href="http://cloudera.github.io/cdk/docs/current/cdk-morphlines/morphlinesReferenceGuide.html#solrLocator" target="_blank"&gt;http://cloudera.github.io/cdk/docs/current/cdk-morphlines/morphlinesReferenceGuide.html#solrLocator&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The Solr schema can be managed via the solrctrl CLI: &lt;A href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/Search/latest/Cloudera-Search-User-Guide/csug_solrctl_ref.html" target="_blank"&gt;http://www.cloudera.com/content/cloudera-content/cloudera-docs/Search/latest/Cloudera-Search-User-Guide/csug_solrctl_ref.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For more on installing and managing Cloudera Search see &lt;A href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/Search/latest/Cloudera-Search-Installation-Guide/csig_deploy_search_solrcloud.html" target="_blank"&gt;http://www.cloudera.com/content/cloudera-content/cloudera-docs/Search/latest/Cloudera-Search-Installation-Guide/csig_deploy_search_solrcloud.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Sep 2013 17:05:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Schema-xml-for-new-collection-in-CloudEra-search/m-p/1621#M253</guid>
      <dc:creator>whosch</dc:creator>
      <dc:date>2013-09-18T17:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Schema.xml for new collection in CloudEra search</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Schema-xml-for-new-collection-in-CloudEra-search/m-p/1937#M254</link>
      <description>&lt;P&gt;Thanks Chris.. I understood the process when i spent more time on it. I have tried the same and it did work.. Probably i might have asked question little too early.. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Thanks for your resonse...&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2013 06:53:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Schema-xml-for-new-collection-in-CloudEra-search/m-p/1937#M254</guid>
      <dc:creator>Srini_D</dc:creator>
      <dc:date>2013-10-01T06:53:28Z</dc:date>
    </item>
  </channel>
</rss>

