<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #1516: Update SOLR schema after 1.5.1 release and set up multicore SOLR instances if needed</title>
    <link>http://localhost/ticket/1516</link>
    <description>&lt;p&gt;
CKAN 1.5.1 will introduce changes in the SOLR schema and functions to support multiple schema versions. Unfortunately the changes in the schema will be backwards incompatible so either both CKAN and SOLR are upgraded, or SOLR is configured as multicore, with one core for each schema. The solr cores would look like:
&lt;/p&gt;
&lt;p&gt;
&lt;tt&gt;http://&amp;lt;solr-server&amp;gt;/solr/schema-&amp;lt;version&amp;gt;&lt;/tt&gt;
&lt;/p&gt;
&lt;p&gt;
Different scenarios:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Single SOLR instance used by only one CKAN site (e.g. SOLR running on the same machine):
&lt;ul&gt;&lt;li&gt;Update CKAN
&lt;/li&gt;&lt;li&gt;Update SOLR schema (symlink to suitable version in CKAN source)
&lt;/li&gt;&lt;li&gt;Rebuild search index
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Single SOLR instance used by multiple CKAN sites.
&lt;ul&gt;&lt;li&gt;Update CKAN source
&lt;/li&gt;&lt;li&gt;Configure SOLR as multicore, one core for version 1.2 and another for 1.3 of the schema (symlink to appropriate version in CKAN source)
&lt;/li&gt;&lt;li&gt;Update solr_url on each of the CKAN sites with the suitable core
&lt;/li&gt;&lt;li&gt;Rebuild search index
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
These are the SOLR and CKAN instances that need to be updated (Please add any missing ones):
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;Same machine as the CKAN site:
&lt;ul&gt;&lt;li&gt;test.ckan.net
&lt;/li&gt;&lt;li&gt;iati.test.ckan.net
&lt;/li&gt;&lt;li&gt;data.gov.uk/ catalogue.data.gov.uk (confirm)
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;s046.okserver.org
&lt;ul&gt;&lt;li&gt;iatiregistry.org
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;s052.okserver.org
&lt;ul&gt;&lt;li&gt;datacatalogs.org
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;s004.okserver.org / eu4.okfn.org / solr.okfn.org
&lt;ul&gt;&lt;li&gt;thedatahub.org (=www.ckan.net)
&lt;/li&gt;&lt;li&gt;datagm.org.uk
&lt;/li&gt;&lt;li&gt;publicdata.eu
&lt;/li&gt;&lt;li&gt;hri.fi (dev.fvh.fi?)
&lt;/li&gt;&lt;li&gt;it.ckan.net
&lt;/li&gt;&lt;li&gt;ie.ckan.net
&lt;/li&gt;&lt;li&gt;cz.ckan.net
&lt;/li&gt;&lt;li&gt;register.data.overheid.nl (nl.ckan.net?)
&lt;/li&gt;&lt;li&gt;no.ckan.net / datakilder.no
&lt;/li&gt;&lt;li&gt;br.ckan.net
&lt;/li&gt;&lt;li&gt;colorado.ckan.net
&lt;/li&gt;&lt;li&gt;at.ckan.net
&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
TODO: which SOLR server are using these instances?
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;data.norge.no
&lt;/li&gt;&lt;li&gt;nederland.ckan.net
&lt;/li&gt;&lt;li&gt;lt.ckan.net
&lt;/li&gt;&lt;li&gt;pl.ckan.net
&lt;/li&gt;&lt;li&gt;datadotmontreal.ca/
&lt;/li&gt;&lt;li&gt;ca.ckan.net / datadotgc.com
&lt;/li&gt;&lt;/ul&gt;</description>
    <language>en-us</language>
    <image>
      <title>CKAN</title>
      <url>http://assets.okfn.org/p/ckan/img/ckan_logo_shortname.png</url>
      <link>http://localhost/ticket/1516</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>amercader</dc:creator>

      <pubDate>Mon, 05 Dec 2011 18:09:23 GMT</pubDate>
      <title>summary changed</title>
      <link>http://localhost/ticket/1516#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/1516#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;summary&lt;/strong&gt;
                changed from &lt;em&gt;SOLR schema after 1.5.1 release and set up multicore SOLR instances if needed&lt;/em&gt; to &lt;em&gt;Update SOLR schema after 1.5.1 release and set up multicore SOLR instances if needed&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>johnglover</dc:creator>

      <pubDate>Tue, 06 Dec 2011 09:32:46 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/1516#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/1516#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/1516?action=diff&amp;amp;version=2"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>amercader</dc:creator>

      <pubDate>Tue, 06 Dec 2011 10:03:59 GMT</pubDate>
      <title>milestone set</title>
      <link>http://localhost/ticket/1516#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/1516#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                set to &lt;em&gt;current-ckan-sprint-2011-12-19&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>amercader</dc:creator>

      <pubDate>Tue, 06 Dec 2011 15:24:58 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/1516#comment:4</link>
      <guid isPermaLink="false">http://localhost/ticket/1516#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/1516?action=diff&amp;amp;version=4"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>amercader</dc:creator>

      <pubDate>Tue, 06 Dec 2011 15:25:30 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/1516#comment:5</link>
      <guid isPermaLink="false">http://localhost/ticket/1516#comment:5</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/1516?action=diff&amp;amp;version=5"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>amercader</dc:creator>

      <pubDate>Wed, 07 Dec 2011 11:01:40 GMT</pubDate>
      <title>description changed</title>
      <link>http://localhost/ticket/1516#comment:6</link>
      <guid isPermaLink="false">http://localhost/ticket/1516#comment:6</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/1516?action=diff&amp;amp;version=6"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>amercader</dc:creator>

      <pubDate>Thu, 08 Dec 2011 16:00:20 GMT</pubDate>
      <title>status, description changed; resolution set</title>
      <link>http://localhost/ticket/1516#comment:7</link>
      <guid isPermaLink="false">http://localhost/ticket/1516#comment:7</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;description&lt;/strong&gt;
              modified (&lt;a href="/ticket/1516?action=diff&amp;amp;version=7"&gt;diff&lt;/a&gt;)
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Closing as the main Solr servers are ready to support different Solr schemas. I.e they have two different cores:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="http://"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://&lt;/a&gt;&amp;lt;server&amp;gt;/solr/ckan-schema-1.2
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="http://"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://&lt;/a&gt;&amp;lt;server&amp;gt;/solr/ckan-schema-1.3
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
to which CKAN instances can point to.
&lt;/p&gt;
&lt;p&gt;
The CKAN instances that have not been updated (the ones under s004) are pointing to a Solr core with an old version of the schema, so they can wait until upgraded to 1.5.1 to update the solr_url property and rebuild the index.
&lt;/p&gt;
&lt;p&gt;
Data.gov.uk can be dealt with during the next deployment.
&lt;/p&gt;
&lt;p&gt;
It's not clear which Solr server are using the rest of the instances, but they can be updated as necessary when they upgrade their CKAN instance.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>nils.toedtmann</dc:creator>

      <pubDate>Thu, 08 Dec 2011 16:44:49 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1516#comment:8</link>
      <guid isPermaLink="false">http://localhost/ticket/1516#comment:8</guid>
      <description>
        &lt;p&gt;
Please note that
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;register.data.overheid.nl (s047) and datagm.org.uk (s048) should use solr on s046 - see &lt;a class="ext-link" href="http://trac.okfn.org/ticket/906"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://trac.okfn.org/ticket/906&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;thedatahub.org should use solr on s052 - see &lt;a class="ext-link" href="http://trac.okfn.org/ticket/931"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://trac.okfn.org/ticket/931&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>