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
ckanext-or_facet-0.3.0.tar.gz
(19.9 kB
view hashes)
Built Distribution
Close
Hashes for ckanext_or_facet-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59d833d64d1f4358cc57e18692cd42bc570a2e64d9c369f3ce5fb72f35f9d00f |
|
MD5 | d85f5953e0067c4ceb9f0a19025c1e78 |
|
BLAKE2b-256 | 48e8a19c244c57c5a52228cf6a8b4efd895fb524c94bd0e1e87a5ac631b2a2e5 |