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
Close
Hashes for ckanext-composite-search-0.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e35265b24225c62a8833a49f7793f0e79a8e3547e8a92263449dd45525642f8 |
|
MD5 | aab57daa87fae76d27828f2275d802a4 |
|
BLAKE2b-256 | 0d2eab2bb90b7e9e0bed16d5c177cdc813fcf5110e1dbb31d4483befaa841abc |
Close
Hashes for ckanext_composite_search-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67f6307d286689243e1046099e7068f78081d63aa47a094ef80a4473bf0e7859 |
|
MD5 | b20dbadb43264e689d3556e7da245027 |
|
BLAKE2b-256 | 89072d90e716e228b9a90a3ac1ee23da9a402da58b50ce507f8ff94ba22be71f |