No project description provided
Project description
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_search
to theckan.plugins
setting 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ckanext_composite_search-0.3.2.post1.tar.gz
.
File metadata
- Download URL: ckanext_composite_search-0.3.2.post1.tar.gz
- Upload date:
- Size: 38.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52fb113368d6daa9b9da8bbf57ed8022803389d46a014e8f15e7be6e0e367054 |
|
MD5 | 8ca212ea4d70214aa62d4f9206fe9451 |
|
BLAKE2b-256 | 607eb00fece82d258e17a23d1cbf4c76e071c1daa0367db4e45f0d62351adea5 |
File details
Details for the file ckanext_composite_search-0.3.2.post1-py3-none-any.whl
.
File metadata
- Download URL: ckanext_composite_search-0.3.2.post1-py3-none-any.whl
- Upload date:
- Size: 40.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f512aebc4e6f4584c9b57fd94f5cd9be1c55b92ff842293f6e6094e69681d22b |
|
MD5 | 7aed2d7724e387eef456c79df11190df |
|
BLAKE2b-256 | 608b2fdb27e72a0938bddf66ae5c7ac3bfe7551447e0190cdf80cfd8413acd08 |