Skip to main content

Tests

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:

  1. Install the ckanext-or_facet Python package:

    pip install ckanext-or-facet
    
  2. Add or_facet to the ckan.plugins setting in CKAN config file

  3. 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

Release files for ckanext-or_facet 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ckanext-or_facet 0.3.1
File Size Uploaded
ckanext_or_facet-0.3.1.tar.gz 7.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ckanext-or_facet 0.3.1
File Interpreter ABI Platform
ckanext_or_facet-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.1 kB

Release files / ckanext_or_facet-0.3.1.tar.gz

Download URL ckanext_or_facet-0.3.1.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
25e888d32489e26ecc4024e7c21150411d2fb33121262659ed74c6193a4b56ac
BLAKE2b-256 checksum
How to use checksums
bc220e14058e0792498a51b44d72a86349741a5a3a2e4998b28f4bd6b60b187d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.8

Release files / ckanext_or_facet-0.3.1-py3-none-any.whl

Download URL ckanext_or_facet-0.3.1-py3-none-any.whl
Size 6.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
062617d2fb2df04311ddc94d73ba8e1db4646aa6c2856f1dc5c484a1dc0d6cc2
BLAKE2b-256 checksum
How to use checksums
facfeccf4db593fbd37755772ab011d265929a34599baad46f881c1ebacdc3c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.8
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page