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.3.tar.gz
.
File metadata
- Download URL: ckanext_composite_search-0.3.3.tar.gz
- Upload date:
- Size: 38.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.0.0 pkginfo/1.10.0 requests/2.32.3 setuptools/75.1.0 requests-toolbelt/1.0.0 tqdm/4.66.6 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99cee511b74854c698429bffd6ff9eba64cc4370ce69b545b6862b967a420470 |
|
MD5 | 961a7f913a72b274876704267b6fa173 |
|
BLAKE2b-256 | 5055625ce2e5c40b7623a0a96711db8c357d299a56464df69df0edef3714b071 |
File details
Details for the file ckanext_composite_search-0.3.3-py3-none-any.whl
.
File metadata
- Download URL: ckanext_composite_search-0.3.3-py3-none-any.whl
- Upload date:
- Size: 40.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.0.0 pkginfo/1.10.0 requests/2.32.3 setuptools/75.1.0 requests-toolbelt/1.0.0 tqdm/4.66.6 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86a94c608c9a1b0286664fa7d4c40e9a77f5ebae2979075029c4db5758988a19 |
|
MD5 | fdda076cb165254a773bcacbd1b450c2 |
|
BLAKE2b-256 | 45bacb45afa6f446cb83dd454ff81b1e25a9db937814ae86807539241cc13da4 |