Ticket #1597 (closed enhancement: fixed)

Opened 17 months ago

Last modified 16 months ago

Tag search - filter by group

Reported by: dread Owned by:
Priority: minor Milestone: ckan-sprint-2012-01-23
Component: ckan Keywords:
Cc: Repository: ckan
Theme: none

Description

I want to browse tags, but filtered for a particular group. Currently our tag API doesn't allow for filtering by group.

This is important for improving groups as communities within a site #1521. 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?

--

BTW I can currently draw a tag cloud for a group - I can get the top tags used in a group like this:

curl  http://thedatahub.org/api/action/package_search -d '{"q":"groups:country-ca", "facet.field":"tags", "rows":"0"}'

but it only contains the top 20 tags.

Change History

Changed 17 months ago by dread

This feature is requested by Colin Calnan

Changed 17 months ago by rgrp

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 #1521. In general we just want to search (and facet on) datasets and resources not on tags.

So IMO: this is a low value item.

Changed 16 months ago by dread

  • priority changed from awaiting triage to minor
  • status changed from new to closed
  • resolution set to fixed
  • milestone set to current-ckan-sprint-2012-01-23

I found that adding facet:limit=200 does what we need.

Note: See TracTickets for help on using tickets.