Skip to main content

No project description provided

Project description

Tests

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:

  1. Install the extension

    pip install ckanext-composite-search
    
  2. Add composite_search default_composite_search to the ckan.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

AGPL

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ckanext_composite_search-0.4.0.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ckanext_composite_search-0.4.0-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

Details for the file ckanext_composite_search-0.4.0.tar.gz.

File metadata

File hashes

Hashes for ckanext_composite_search-0.4.0.tar.gz
Algorithm Hash digest
SHA256 0c21644210f8efb6c5c4b73a594c2d9621c095be315a7e10e26f92018cef9f55
MD5 8a8a828cc2aa0a512dff7ed3ec7a5130
BLAKE2b-256 f4b2c73cfcd455520c8f48cbe430f12115c93c88c0b7ca13db58f8ad1a761622

See more details on using hashes here.

File details

Details for the file ckanext_composite_search-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ckanext_composite_search-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 841e6d8a03fc88eb76a25bcd27db1ea54df31e01c59f0287bf27078ace67691f
MD5 e1242ed2a20901fc8476da580a46f633
BLAKE2b-256 58b96dbce9eab1a39c73a397a266a8fc905f12ad02f048c011d68ef2e7dff822

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page