Skip to content

Search

The main search and browse interface for discovering datasets in the CKAN portal.

Overview

The dataset search page provides:

  • Full-text search across datasets
  • Faceted filtering (organization, tags, format, etc.)
  • Sorting options
  • Pagination
  • Search result statistics

Screenshots

normal

facet applied

facet applied

facet applied

URL Pattern

GET /dataset
GET /dataset?q={query}
GET /dataset?organization={org}&tags={tag}&res_format={format}

Examples:

http://localhost:5000/dataset
http://localhost:5000/dataset?q=environment
http://localhost:5000/dataset?organization=epa&tags=climate

Purpose

The search page is the primary way users discover datasets. It should:

  • Provide powerful search capabilities
  • Offer intuitive filtering options
  • Display relevant results clearly
  • Guide users to refine their search

Actions Available

Action Description
Search datasets Full-text search
Filter by facet Narrow results
Sort results Change order
Clear filters Reset search
View dataset Navigate to dataset
Create dataset Add new dataset
Pagination Navigate pages

Customization Notes

Search Configuration

Configure search behavior in CKAN config:

ckan.datasets_per_page = 20
ckan.facets = organization groups tags res_format license_id
ckan.search.show_all_types = False

Facet Customization

Modify which facets appear:

# In plugin or config
ckan.facets = custom_facet1 custom_facet2 organization tags