<?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: How to create a collection for SolrCloud on Solr 5.2.0? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-a-collection-for-SolrCloud-on-Solr-5-2-0/m-p/94673#M7966</link>
    <description>&lt;P&gt;The default 'Collection1' is no longer included, so I'm trying to create a simple collection so that I can start sending data and indexing it.&lt;/P&gt;</description>
    <pubDate>Thu, 01 Oct 2015 06:33:03 GMT</pubDate>
    <dc:creator>asunke</dc:creator>
    <dc:date>2015-10-01T06:33:03Z</dc:date>
    <item>
      <title>How to create a collection for SolrCloud on Solr 5.2.0?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-a-collection-for-SolrCloud-on-Solr-5-2-0/m-p/94672#M7965</link>
      <description />
      <pubDate>Thu, 01 Oct 2015 06:30:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-a-collection-for-SolrCloud-on-Solr-5-2-0/m-p/94672#M7965</guid>
      <dc:creator>asunke</dc:creator>
      <dc:date>2015-10-01T06:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a collection for SolrCloud on Solr 5.2.0?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-a-collection-for-SolrCloud-on-Solr-5-2-0/m-p/94673#M7966</link>
      <description>&lt;P&gt;The default 'Collection1' is no longer included, so I'm trying to create a simple collection so that I can start sending data and indexing it.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2015 06:33:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-a-collection-for-SolrCloud-on-Solr-5-2-0/m-p/94673#M7966</guid>
      <dc:creator>asunke</dc:creator>
      <dc:date>2015-10-01T06:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a collection for SolrCloud on Solr 5.2.0?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-a-collection-for-SolrCloud-on-Solr-5-2-0/m-p/94674#M7967</link>
      <description>&lt;P&gt;Have a few examples here for a lab we built. We are looking to get the existing Solr tutorial updated:&lt;/P&gt;&lt;P&gt;&lt;A href="https://gist.github.com/abajwa-hw/675b01c152e9fac8d3c2" target="_blank"&gt;https://gist.github.com/abajwa-hw/675b01c152e9fac8d3c2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://gist.github.com/abajwa-hw/86ec17a6f0b3542fd4a9" target="_blank"&gt;https://gist.github.com/abajwa-hw/86ec17a6f0b3542fd4a9&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Collection1 should not longer be used in Solr 5.x, its a bug in sandbox&lt;/P&gt;&lt;P&gt;Also make sure to change owner of all files under solr log dir to solr on sandbox. It has some files owned by root which causes problems.&lt;/P&gt;&lt;P&gt;More details available in docs: &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_search/index.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.0/bk_search/index.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample steps&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;On non-sandbox, you can install/setup Solr this way (not needed on sandbox):&lt;/P&gt;&lt;PRE&gt;yum install -y lucidworks-hdpsearch
sudo -u hdfs hadoop fs -mkdir /user/solr
sudo -u hdfs hadoop fs -chown solr /user/solr&lt;/PRE&gt;&lt;P&gt;Then run below sample steps to start Solr in cloud mode and create collection&lt;/P&gt;&lt;PRE&gt;#only needed on current sandbox
chown -R solr:solr /opt/lucidworks-hdpsearch/solr  
su solr
/opt/lucidworks-hdpsearch/solr/bin/solr start -c -z localhost:2181
/opt/lucidworks-hdpsearch/solr/bin/solr create -c tweets \
   -d data_driven_schema_configs \
   -s 1 \
   -rf 1 &lt;/PRE&gt;</description>
      <pubDate>Thu, 01 Oct 2015 06:36:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-a-collection-for-SolrCloud-on-Solr-5-2-0/m-p/94674#M7967</guid>
      <dc:creator>abajwa</dc:creator>
      <dc:date>2015-10-01T06:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a collection for SolrCloud on Solr 5.2.0?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-a-collection-for-SolrCloud-on-Solr-5-2-0/m-p/94675#M7968</link>
      <description>&lt;P&gt;Exactly what I was looking for ! Thanks Ali !&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2015 06:45:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-create-a-collection-for-SolrCloud-on-Solr-5-2-0/m-p/94675#M7968</guid>
      <dc:creator>asunke</dc:creator>
      <dc:date>2015-10-01T06:45:36Z</dc:date>
    </item>
  </channel>
</rss>

