ckanext-composite-search
Complex search form for the dataset search page.
Filter by field, search by multiple criteria, combine filter with the AND/OR operators and forget about Lucene queries
Requirements
Compatibility with core CKAN versions:
| CKAN version | Compatible? |
|---|---|
| 2.9 | yes |
| 2.10 | yes |
Installation
To install ckanext-composite-search:
-
Install the extension
pip install ckanext-composite-search
-
Add
composite_search default_composite_searchto theckan.pluginssetting in your CKAN config file.
Config settings
# Prefix for field-names of the search form. Due to the way,
# CKAN handles extra search parameters, prefix must begin with `ext_`
# (optional, default: ext_composite_).
ckanext.composite_search.prefix = ext_p_
# Escape search terms using single-quote, double-quote or both at the same time.
# (optional, default: double, values: single|double|both).
ckanext.composite_search.plugin.default.literal_quotes = single
# List of field names that must not be tokenized. Usually, one will
# use this option when searching by tags or other keywords.
# (optional, default: <empty>).
ckanext.composite_search.plugin.default.keyword_fields = tags groups
License
Release files for ckanext-composite-search 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ckanext_composite_search-0.4.0.tar.gz | 27.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ckanext_composite_search-0.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 55.5 kB
Release files / ckanext_composite_search-0.4.0.tar.gz
| Download URL | ckanext_composite_search-0.4.0.tar.gz |
|---|---|
| Size | 27.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0c21644210f8efb6c5c4b73a594c2d9621c095be315a7e10e26f92018cef9f55
|
|
BLAKE2b-256 checksum How to use checksums |
f4b2c73cfcd455520c8f48cbe430f12115c93c88c0b7ca13db58f8ad1a761622
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.8
|
Release files / ckanext_composite_search-0.4.0-py3-none-any.whl
| Download URL | ckanext_composite_search-0.4.0-py3-none-any.whl |
|---|---|
| Size | 28.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
841e6d8a03fc88eb76a25bcd27db1ea54df31e01c59f0287bf27078ace67691f
|
|
BLAKE2b-256 checksum How to use checksums |
58b96dbce9eab1a39c73a397a266a8fc905f12ad02f048c011d68ef2e7dff822
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.8
|