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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 811486e00f218ba7b923c9604f1bca344e0e01fbcc10c3f3d159342763726f15 |
|
MD5 | bcd5b4ab1265b86e106b476480199212 |
|
BLAKE2b-256 | 8dc1b170e05782c6bdb138e0c1b75c95e5f994b279bc83f6cfdd57d3fe04c2a3 |
Close
Hashes for ckanext_composite_search-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec7026c07229ac583c16875f98b617ec9c2f10ff097f0fc6e94f849b4a749b6c |
|
MD5 | 1ce076468ddc006f4d1e58535d21b0a5 |
|
BLAKE2b-256 | b2c2e05772e212d943a93afbfc707b9d2fae25074d1cb2898adaf4846a587127 |