ckanext-or-facet


Nameckanext-or-facet JSON
Version 0.3.0.post1 PyPI version JSON
download
home_pageNone
SummaryCombine search facets using OR operator
upload_time2024-10-17 13:41:02
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseAGPL
keywords ckan
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            [![Tests](https://github.com/DataShades/ckanext-or_facet/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/DataShades/ckanext-or_facet/actions)


# 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:
   ```sh
   pip install ckanext-or-facet
   ```


1. Add ``or_facet`` to the ``ckan.plugins`` setting in CKAN config file

1. **Starting from CKAN v2.10.4**: Add ``ckan.search.solr_allowed_query_parsers =
   edismax bool`` to CKAN config file




## Config Settings
```ini
# List of facets that are using OR when applied.
# (optional, default: empty list).
ckanext.or_facet.optional = tags res_format
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "ckanext-or-facet",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "DataShades <datashades@linkdigital.com.au>",
    "keywords": "CKAN",
    "author": null,
    "author_email": "DataShades <datashades@linkdigital.com.au>, Sergey Motornyuk <sergey.motornyuk@linkdigital.com.au>",
    "download_url": "https://files.pythonhosted.org/packages/24/fc/7d20137209326cbfe555102dfb4f9790d3882c14f33a04c3841abb03160f/ckanext_or_facet-0.3.0.post1.tar.gz",
    "platform": null,
    "description": "[![Tests](https://github.com/DataShades/ckanext-or_facet/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/DataShades/ckanext-or_facet/actions)\n\n\n# ckanext-or_facet\n\n\nChange logic of applying facets. With a bit of extra configuration, search for\ndatasets, including **any** of applied facets, not necessary **all** of them\n\n\n## Installation\n\n\nTo install ckanext-or-facet:\n\n1. Install the ckanext-or_facet Python package:\n   ```sh\n   pip install ckanext-or-facet\n   ```\n\n\n1. Add ``or_facet`` to the ``ckan.plugins`` setting in CKAN config file\n\n1. **Starting from CKAN v2.10.4**: Add ``ckan.search.solr_allowed_query_parsers =\n   edismax bool`` to CKAN config file\n\n\n\n\n## Config Settings\n```ini\n# List of facets that are using OR when applied.\n# (optional, default: empty list).\nckanext.or_facet.optional = tags res_format\n```\n",
    "bugtrack_url": null,
    "license": "AGPL",
    "summary": "Combine search facets using OR operator",
    "version": "0.3.0.post1",
    "project_urls": {
        "Homepage": "https://github.com/DataShades/ckanext-or_facet"
    },
    "split_keywords": [
        "ckan"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "af38f932f8fe370776a3d4707d9dfd7317bc20bebd2ebe72d17322df72e500b9",
                "md5": "cbd6d694c30c12791763d75edae6d89a",
                "sha256": "1ac247cb7e7bb13e2d8f2658cd73adb874ec42ec15c1958cd182d9915e992c1b"
            },
            "downloads": -1,
            "filename": "ckanext_or_facet-0.3.0.post1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cbd6d694c30c12791763d75edae6d89a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 18213,
            "upload_time": "2024-10-17T13:41:00",
            "upload_time_iso_8601": "2024-10-17T13:41:00.919024Z",
            "url": "https://files.pythonhosted.org/packages/af/38/f932f8fe370776a3d4707d9dfd7317bc20bebd2ebe72d17322df72e500b9/ckanext_or_facet-0.3.0.post1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "24fc7d20137209326cbfe555102dfb4f9790d3882c14f33a04c3841abb03160f",
                "md5": "a33ada0892970420e40e1b4b1f4541db",
                "sha256": "239943fe3f1287f0652356981e237ff8c6e7c30f8c672cee0599517c016aef39"
            },
            "downloads": -1,
            "filename": "ckanext_or_facet-0.3.0.post1.tar.gz",
            "has_sig": false,
            "md5_digest": "a33ada0892970420e40e1b4b1f4541db",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 20054,
            "upload_time": "2024-10-17T13:41:02",
            "upload_time_iso_8601": "2024-10-17T13:41:02.964820Z",
            "url": "https://files.pythonhosted.org/packages/24/fc/7d20137209326cbfe555102dfb4f9790d3882c14f33a04c3841abb03160f/ckanext_or_facet-0.3.0.post1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-17 13:41:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "DataShades",
    "github_project": "ckanext-or_facet",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "requirements": [],
    "lcname": "ckanext-or-facet"
}
        
Elapsed time: 2.57839s