<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #1597: Tag search - filter by group</title>
    <link>http://localhost/ticket/1597</link>
    <description>&lt;p&gt;
I want to browse tags, but filtered for a particular group. Currently our tag API doesn't allow for filtering by group.
&lt;/p&gt;
&lt;p&gt;
This is important for improving groups as communities within a site &lt;a class="closed ticket" href="http://localhost/ticket/1521" title="enhancement: [super] Groups UI and UX improvements in v1.6 from Cygri (closed: fixed)"&gt;#1521&lt;/a&gt;. It would be easy to do this by adding an option to filter by a group. BUT are there any other use cases that would warrant a more complete faceted tag search?
&lt;/p&gt;
&lt;p&gt;
--
&lt;/p&gt;
&lt;p&gt;
BTW I can currently draw a tag cloud for a group - I can get the top tags used in a group like this:
&lt;/p&gt;
&lt;p&gt;
curl &lt;a class="ext-link" href="http://thedatahub.org/api/action/package_search"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://thedatahub.org/api/action/package_search&lt;/a&gt; -d
'{"q":"groups:country-ca", "facet.field":"tags", "rows":"0"}'
&lt;/p&gt;
&lt;p&gt;
but it only contains the top 20 tags.
&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/1597</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Thu, 22 Dec 2011 10:42:25 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1597#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/1597#comment:1</guid>
      <description>
        &lt;p&gt;
This feature is requested by Colin Calnan
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Thu, 29 Dec 2011 23:42:32 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/1597#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/1597#comment:2</guid>
      <description>
        &lt;p&gt;
Is there not a limit option to the package_search action (if not maybe there should be (with say a maximum of 200 ...)). Also I'm not sure how essential this is to &lt;a class="closed ticket" href="http://localhost/ticket/1521" title="enhancement: [super] Groups UI and UX improvements in v1.6 from Cygri (closed: fixed)"&gt;#1521&lt;/a&gt;. In general we just want to search (and facet on) datasets and resources not on tags.
&lt;/p&gt;
&lt;p&gt;
So IMO: this is a low value item.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>dread</dc:creator>

      <pubDate>Tue, 17 Jan 2012 17:25:56 GMT</pubDate>
      <title>priority, status changed; resolution, milestone set</title>
      <link>http://localhost/ticket/1597#comment:3</link>
      <guid isPermaLink="false">http://localhost/ticket/1597#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;priority&lt;/strong&gt;
                changed from &lt;em&gt;awaiting triage&lt;/em&gt; to &lt;em&gt;minor&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;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;milestone&lt;/strong&gt;
                set to &lt;em&gt;current-ckan-sprint-2012-01-23&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I found that adding facet:limit=200 does what we need.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>