Ticket #1597 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years 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

comment:1 Changed 2 years ago by dread

This feature is requested by Colin Calnan

comment:2 Changed 2 years 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.

comment:3 Changed 2 years 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.