<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #1468: Update the search index for individual packages</title>
    <link>http://localhost/ticket/1468</link>
    <description>&lt;p&gt;
When I delete a package from the pylons shell I need to remove that package's entry from the Solr search index. That doesn't happen at the moment.
&lt;/p&gt;
&lt;p&gt;
It would be useful if the search-index rebuild command could take a list of package IDs to rebuild.
&lt;/p&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/1468</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>johnglover</dc:creator>

      <pubDate>Mon, 21 Nov 2011 10:12:45 GMT</pubDate>
      <title>owner, status changed</title>
      <link>http://localhost/ticket/1468#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/1468#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              changed from &lt;em&gt;jglover&lt;/em&gt; to &lt;em&gt;johnglover&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;assigned&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>johnglover</dc:creator>

      <pubDate>Mon, 21 Nov 2011 11:42:57 GMT</pubDate>
      <title>milestone changed</title>
      <link>http://localhost/ticket/1468#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/1468#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                changed from &lt;em&gt;current-ckan-sprint-2011-11-21&lt;/em&gt; to &lt;em&gt;ckan-sprint-2011-12-05&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
New ticket, moving over to new sprint
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>johnglover</dc:creator>

      <pubDate>Mon, 28 Nov 2011 15:50:17 GMT</pubDate>
      <title>status changed; keywords, resolution set</title>
      <link>http://localhost/ticket/1468#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/1468#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;keywords&lt;/strong&gt;
              &lt;em&gt;search&lt;/em&gt; added
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;assigned&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;/ul&gt;
        &lt;p&gt;
Done - commit: &lt;a class="ext-link" href="https://github.com/okfn/ckan/commit/7789e85c973c9e085f623486bced6be14f25678f"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://github.com/okfn/ckan/commit/7789e85c973c9e085f623486bced6be14f25678f&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
rebuild can now take an optional package name/id
(single package to be consistent with other paster commands, not a list of packages)
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Tue, 29 Nov 2011 18:39:57 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1468#comment:4</link>
      <guid isPermaLink="false">http://localhost/ticket/1468#comment:4</guid>
      <description>
        &lt;p&gt;
We originally talked about a command-line interface for deleting packages. I've done this here: &lt;a class="closed ticket" href="http://localhost/ticket/1499" title="enhancement: list/read/delete packages on the command-line (closed: fixed)"&gt;#1499&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
Note: you can update the search index from a paster shell, simply by doing this before running your commands that edit packages:
&lt;/p&gt;
&lt;pre class="wiki"&gt;from ckan import plugins
plugins.load('synchronous_search')
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>