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_facetto theckan.pluginssetting in CKAN config file -
Starting from CKAN v2.10.4: Add
ckan.search.solr_allowed_query_parsers = edismax boolto 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ckanext_or_facet-0.3.1.tar.gz.
File metadata
- Download URL: ckanext_or_facet-0.3.1.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25e888d32489e26ecc4024e7c21150411d2fb33121262659ed74c6193a4b56ac
|
|
| MD5 |
c9119686c0d8ba7515e43747c9653ab6
|
|
| BLAKE2b-256 |
bc220e14058e0792498a51b44d72a86349741a5a3a2e4998b28f4bd6b60b187d
|
File details
Details for the file ckanext_or_facet-0.3.1-py3-none-any.whl.
File metadata
- Download URL: ckanext_or_facet-0.3.1-py3-none-any.whl
- Upload date:
- Size: 6.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
062617d2fb2df04311ddc94d73ba8e1db4646aa6c2856f1dc5c484a1dc0d6cc2
|
|
| MD5 |
58068c9fb27d62686e088ebb48245a8b
|
|
| BLAKE2b-256 |
facfeccf4db593fbd37755772ab011d265929a34599baad46f881c1ebacdc3c5
|