Combine search facets using OR operator
Project description
ckanext-or_facet
Change logic of applying facets. With a bit of extra configuration, search for datasets, including any of applied facets, not necessary all of them
Installation
To install ckanext-or-facet:
-
Install the ckanext-or_facet Python package:
pip install ckanext-or-facet
-
Add
or_facet
to theckan.plugins
setting in CKAN config file -
Starting from CKAN v2.10.4: Add
ckan.search.solr_allowed_query_parsers = edismax bool
to CKAN config file
Config Settings
# List of facets that are using OR when applied.
# (optional, default: empty list).
ckanext.or_facet.optional = tags res_format
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_or_facet-0.3.0.post1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 239943fe3f1287f0652356981e237ff8c6e7c30f8c672cee0599517c016aef39 |
|
MD5 | a33ada0892970420e40e1b4b1f4541db |
|
BLAKE2b-256 | 24fc7d20137209326cbfe555102dfb4f9790d3882c14f33a04c3841abb03160f |
Close
Hashes for ckanext_or_facet-0.3.0.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ac247cb7e7bb13e2d8f2658cd73adb874ec42ec15c1958cd182d9915e992c1b |
|
MD5 | cbd6d694c30c12791763d75edae6d89a |
|
BLAKE2b-256 | af38f932f8fe370776a3d4707d9dfd7317bc20bebd2ebe72d17322df72e500b9 |