[![Tests](https://github.com/DataShades/ckanext-search-schema/workflows/Tests/badge.svg?branch=main)](https://github.com/DataShades/ckanext-search-schema/actions)
# ckanext-search-schema
An extension to manage CKAN search engine schema
## List of SOLR 8 classes to define types
https://solr.apache.org/guide/8_2/field-types-included-with-solr.html
## Installation
**TODO:** Add any additional install steps to the list below.
For example installing any non-Python dependencies or adding any required
config settings.
To install ckanext-search-schema:
1. Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
2. Clone the source and install it on the virtualenv
git clone https://github.com/DataShades/ckanext-search-schema.git
cd ckanext-search-schema
pip install -e .
pip install -r requirements.txt
3. Add `search-schema` to the `ckan.plugins` setting in your CKAN
config file (by default the config file is located at
`/etc/ckan/default/ckan.ini`).
4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
## Config settings
None at present
**TODO:** Document any optional config settings here. For example:
# The minimum number of hours to wait before re-checking a resource
# (optional, default: 24).
ckanext.search_schema.some_setting = some_default_value
## Developer installation
To install ckanext-search-schema for development, activate your CKAN virtualenv and
do:
git clone https://github.com/DataShades/ckanext-search-schema.git
cd ckanext-search-schema
python setup.py develop
pip install -r dev-requirements.txt
## Tests
To run the tests, do:
pytest --ckan-ini=test.ini
## License
[AGPL](https://www.gnu.org/licenses/agpl-3.0.en.html)
Raw data
{
"_id": null,
"home_page": null,
"name": "ckanext-search-schema",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": "DataShades <datashades@linkdigital.com.au>",
"keywords": "CKAN SOLR search schema",
"author": null,
"author_email": "DataShades <datashades@linkdigital.com.au>, Sergey Motornyuk <sergey.motornyuk@linkdigital.com.au>, Oleksandr Cherniavskyi <mutantsan@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/b6/92/56593cb33bfd75be4832744fe69f0e68101d80602cd89708b5a066359f4d/ckanext_search_schema-0.1.1.tar.gz",
"platform": null,
"description": "[![Tests](https://github.com/DataShades/ckanext-search-schema/workflows/Tests/badge.svg?branch=main)](https://github.com/DataShades/ckanext-search-schema/actions)\n\n# ckanext-search-schema\n\nAn extension to manage CKAN search engine schema\n\n\n## List of SOLR 8 classes to define types\n\nhttps://solr.apache.org/guide/8_2/field-types-included-with-solr.html\n\n\n## Installation\n\n**TODO:** Add any additional install steps to the list below.\n For example installing any non-Python dependencies or adding any required\n config settings.\n\nTo install ckanext-search-schema:\n\n1. Activate your CKAN virtual environment, for example:\n\n . /usr/lib/ckan/default/bin/activate\n\n2. Clone the source and install it on the virtualenv\n\n git clone https://github.com/DataShades/ckanext-search-schema.git\n cd ckanext-search-schema\n pip install -e .\n\tpip install -r requirements.txt\n\n3. Add `search-schema` to the `ckan.plugins` setting in your CKAN\n config file (by default the config file is located at\n `/etc/ckan/default/ckan.ini`).\n\n4. Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:\n\n sudo service apache2 reload\n\n\n## Config settings\n\nNone at present\n\n**TODO:** Document any optional config settings here. For example:\n\n\t# The minimum number of hours to wait before re-checking a resource\n\t# (optional, default: 24).\n\tckanext.search_schema.some_setting = some_default_value\n\n\n## Developer installation\n\nTo install ckanext-search-schema for development, activate your CKAN virtualenv and\ndo:\n\n git clone https://github.com/DataShades/ckanext-search-schema.git\n cd ckanext-search-schema\n python setup.py develop\n pip install -r dev-requirements.txt\n\n\n## Tests\n\nTo run the tests, do:\n\n pytest --ckan-ini=test.ini\n\n\n## License\n\n[AGPL](https://www.gnu.org/licenses/agpl-3.0.en.html)\n",
"bugtrack_url": null,
"license": "AGPL",
"summary": "An extension to manage CKAN search engine schema",
"version": "0.1.1",
"project_urls": {
"Homepage": "https://github.com/DataShades/ckanext-search-schema"
},
"split_keywords": [
"ckan",
"solr",
"search",
"schema"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "21a06877464f7d8e0c71c9dbb95b244752705940679233b5e7c4b9857efcb37d",
"md5": "59e2a51c6252f2c5432d1f41fafd08cc",
"sha256": "98057a4e79081004efaea1124814877ecac299d3c16ce438b17b0ba89abbbc84"
},
"downloads": -1,
"filename": "ckanext_search_schema-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "59e2a51c6252f2c5432d1f41fafd08cc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 27433,
"upload_time": "2024-10-24T13:36:35",
"upload_time_iso_8601": "2024-10-24T13:36:35.311736Z",
"url": "https://files.pythonhosted.org/packages/21/a0/6877464f7d8e0c71c9dbb95b244752705940679233b5e7c4b9857efcb37d/ckanext_search_schema-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b69256593cb33bfd75be4832744fe69f0e68101d80602cd89708b5a066359f4d",
"md5": "4051fbe2b3ee0f8baefe5cb5d814d150",
"sha256": "9af1a7aef888c4ca59b8071d86690151c16f7b3a7ea51f49e13355300c86086a"
},
"downloads": -1,
"filename": "ckanext_search_schema-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "4051fbe2b3ee0f8baefe5cb5d814d150",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 26930,
"upload_time": "2024-10-24T13:36:36",
"upload_time_iso_8601": "2024-10-24T13:36:36.534188Z",
"url": "https://files.pythonhosted.org/packages/b6/92/56593cb33bfd75be4832744fe69f0e68101d80602cd89708b5a066359f4d/ckanext_search_schema-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-24 13:36:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "DataShades",
"github_project": "ckanext-search-schema",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"requirements": [],
"lcname": "ckanext-search-schema"
}