Extension Composite Search


Extension Basics

Title
Composite Search
Name
ckanext-composite-search
Type
Public extension
Description
Complex search forms with field-based filters
CKAN versions

~2.9, ~2.10, ~2.11

Show details
Download-Url (zip)
Download-Url commit date
2025-09-16
Url to repo
Category
Specialized Tools


Background Infos

Description (long)
Show details

Complex search form for the dataset search page allowing filtering by specific fields, searching by multiple criteria, and combining filters with AND/OR operators without writing Lucene queries. Provides user-friendly interface for building advanced searches with field-specific inputs, operator selection for combining conditions, literal quote escaping options (single/double/both), keyword field support for non-tokenized searches (tags, groups), and configurable field name prefix. Two plugins included: composite_search (base functionality) and default_composite_search (ready-to-use implementation).

Version
0.4.2
Version release date
2025-09-16
Contact name
DataShades / Sergey Motornyuk
Contakt email
Contact Url
(not set)


Installation Guide

Configuration hints

Installation: pip install ckanext-composite-search, add ‘composite_search default_composite_search’ to ckan.plugins. Configuration options: ckanext.composite_search.prefix (default: ext_composite_, must begin with ext_) for field name prefix, ckanext.composite_search.plugin.default.literal_quotes (single|double|both, default: double) for escaping search terms, ckanext.composite_search.plugin.default.keyword_fields (space-separated list) for fields that must not be tokenized like tags or groups. Use cases: Advanced dataset search without Lucene syntax, field-specific filtering, complex query building with AND/OR logic, user-friendly search interface for non-technical users.

Plugins to configure (ckan.ini)
composite_search default_composite_search
CKAN Settings (ckan.ini)
# ckanext.composite_search.prefix = ext_p_ # ckanext.composite_search.plugin.default.literal_quotes = single # ckanext.composite_search.plugin.default.keyword_fields = tags groups
DB migration to be executed
(not set)
<< back to Extensions