<?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 Re: solr create_collection in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97777#M11239</link>
    <description>&lt;P&gt;You can use collection.configName, however make sure you have already uploaded the configuration to your Zookeeper znode. If you dont use collection.configName, Solr asumes the configuration is stored under the name of the collection.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Dec 2015 22:57:52 GMT</pubDate>
    <dc:creator>jstraub</dc:creator>
    <dc:date>2015-12-03T22:57:52Z</dc:date>
    <item>
      <title>solr create_collection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97769#M11231</link>
      <description>&lt;P&gt;Does anyone know if we have an option for solr create_collection command to specify the nodes for the index to be created on?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 20:01:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97769#M11231</guid>
      <dc:creator>ArtiW</dc:creator>
      <dc:date>2015-12-02T20:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: solr create_collection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97770#M11232</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/503/awadhwani.html" nodeid="503"&gt;@Arti Wadhwani&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;I believe this is what you are looking for &lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://cwiki.apache.org/confluence/display/solr/Collections+API"&gt;https://cwiki.apache.org/confluence/display/solr/Collections+API&lt;/A&gt;&lt;/P&gt;&lt;PRE&gt;createNodeSetstringNoAllows defining the nodes to spread the new collection across. If not provided, the CREATE operation will create shard-replica spread across all live Solr nodes. The format is a comma-separated list of node_names, such as&lt;CODE&gt;localhost:8983_solr,&lt;/CODE&gt; &lt;CODE&gt;localhost:8984_solr,&lt;/CODE&gt;&lt;CODE&gt;localhost:8985_solr&lt;/CODE&gt;. Alternatively, use the special value of &lt;CODE&gt;EMPTY&lt;/CODE&gt; to initially create no shard-replica within the new collection and then later use the &lt;A href="https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api_addreplica"&gt;ADDREPLICA&lt;/A&gt; operation to add shard-replica when and where required.&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Dec 2015 20:08:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97770#M11232</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-02T20:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: solr create_collection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97771#M11233</link>
      <description>&lt;P&gt;You have to use the option "createNodeSet"&lt;/P&gt;&lt;PRE&gt;Allows defining the nodes to spread the new collection across. If not provided, the CREATE operation will create shard-replica spread across all live Solr nodes. The format is a comma-separated list of node_names, such as localhost:8983_solr, localhost:8984_solr,localhost:8985_solr. Alternatively, use the special value of EMPTY to initially create no shard-replica within the new collection and then later use the ADDREPLICA operation to add shard-replica when and where required.&lt;/PRE&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://localhost:8983/solr/admin/collections?action=CREATE&amp;amp;name=newCollection&amp;amp;numShards=2&amp;amp;replicationFactor=1&amp;amp;createNodeSet=localhost:8983_solr,localhost:8984_solr,localhost:8985_solr" target="_blank"&gt;http://localhost:8983/solr/admin/collections?action=CREATE&amp;amp;name=newCollection&amp;amp;numShards=2&amp;amp;replicationFactor=1&amp;amp;createNodeSet=localhost:8983_solr,localhost:8984_solr,localhost:8985_solr&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;See full documentation &lt;A target="_blank" href="https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api1"&gt;here&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 20:09:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97771#M11233</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2015-12-02T20:09:02Z</dc:date>
    </item>
    <item>
      <title>Re: solr create_collection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97772#M11234</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; and &lt;A rel="user" href="https://community.cloudera.com/users/113/jstraub.html" nodeid="113"&gt;@Jonas Straub&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;Already asked customer to try this option but it did not work via command line. Did I miss something?&lt;/P&gt;&lt;PRE&gt;tried it and it didn't recognise the option: 

solr create_collection -c universe_counts -d /home/xyz/solrhorton/solr_universe_counts/universe_counts/ -n universe_counts -shards 1 -replicationFactor 3 -createNodeSet xyz01:8983_solr,xyz03:8983_solr,xyz05:8983_solr 

ERROR: Unrecognized or misplaced argument: -createNodeSet! 


Usage: solr create_collection [-c collection] [-d confdir] [-n configName] [-shards #] [-replicationFactor #] [-p port]
&lt;/PRE&gt;&lt;P&gt;

&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 20:24:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97772#M11234</guid>
      <dc:creator>ArtiW</dc:creator>
      <dc:date>2015-12-02T20:24:34Z</dc:date>
    </item>
    <item>
      <title>Re: solr create_collection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97773#M11235</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/503/awadhwani.html" nodeid="503"&gt;@Arti Wadhwani&lt;/A&gt; I believe you need to do this using API &lt;/P&gt;&lt;P&gt;&lt;A href="http://solr_node:8983/solr/admin/collections?action=CREATE&amp;amp;name=universe_counts&amp;amp;numShards=1&amp;amp;replicationFactor=3&amp;amp;createNodeSet=yz01:8983_solr,xyz03:8983_solr,xyz05:8983_solr" target="_blank"&gt;http://solr_node:8983/solr/admin/collections?action=CREATE&amp;amp;name=universe_counts&amp;amp;numShards=1&amp;amp;replicationFactor=3&amp;amp;createNodeSet=yz01:8983_solr,xyz03:8983_solr,xyz05:8983_solr&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 20:31:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97773#M11235</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-02T20:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: solr create_collection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97774#M11236</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/113/jstraub.html" nodeid="113"&gt;@Jonas Straub&lt;/A&gt; for the example. &lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 20:33:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97774#M11236</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-02T20:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: solr create_collection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97775#M11237</link>
      <description>&lt;P&gt;Agree with &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt; this is an API specific command, I dont think this option is available via "solr create_collection..."&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2015 20:35:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97775#M11237</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2015-12-02T20:35:22Z</dc:date>
    </item>
    <item>
      <title>Re: solr create_collection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97776#M11238</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;P&gt;/ &lt;A rel="user" href="https://community.cloudera.com/users/113/jstraub.html" nodeid="113"&gt;@Jonas Straub&lt;/A&gt; - how to pass -d confdir option in API ?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 22:53:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97776#M11238</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2015-12-03T22:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: solr create_collection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97777#M11239</link>
      <description>&lt;P&gt;You can use collection.configName, however make sure you have already uploaded the configuration to your Zookeeper znode. If you dont use collection.configName, Solr asumes the configuration is stored under the name of the collection.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2015 22:57:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97777#M11239</guid>
      <dc:creator>jstraub</dc:creator>
      <dc:date>2015-12-03T22:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: solr create_collection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97778#M11240</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/503/awadhwani.html" nodeid="503"&gt;@Arti Wadhwani&lt;/A&gt; Did it work?&lt;/P&gt;</description>
      <pubDate>Sat, 05 Dec 2015 08:55:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97778#M11240</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2015-12-05T08:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: solr create_collection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97779#M11241</link>
      <description>&lt;P&gt;You can use a command line utility like 'curl' or 'wget' to make this REST PUT request from the command line.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2015 02:55:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97779#M11241</guid>
      <dc:creator>hlouro</dc:creator>
      <dc:date>2015-12-09T02:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: solr create_collection</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97780#M11242</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/503/awadhwani.html" nodeid="503"&gt;@Arti Wadhwani&lt;/A&gt; are you still having issues with this? Can you accept best answer or provide your own solution?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Feb 2016 23:47:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/solr-create-collection/m-p/97780#M11242</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-02-03T23:47:59Z</dc:date>
    </item>
  </channel>
</rss>

