
CKANEXT DataStore Search
This plugin hooks into the creation and insertion of DataStore tables and records, and dynamically creates and alters search indices. By default, this plugin uses SOLR as the search engine.
Requirements
https://github.com/ckan/ckan/pull/8684
If using the SOLR engine:
- SOLR 9+ running in Stand Alone mode. Currently, this plugin does NOT support Cloud Mode SOLR.
- Python SOLR Utils installed and service running on a SOLR server.
- A ckan -c <INI> jobs worker ckan_ds_create_index_callback service running on a CKAN server. See: ckanext.datastore_search.redis.callback_queue_name below
Compatibility with core CKAN versions:
| CKAN version |
Compatible? |
| 2.6 and earlier |
no |
| 2.7 |
no |
| 2.8 |
no |
| 2.9 |
no |
| 2.10 |
yes |
| 2.11 |
yes |
Compatibility with Python versions:
| Python version |
Compatible? |
| 2.7 and earlier |
no |
| 3.7 and later |
no |
| 3.8 and later |
yes |
Compatibility with SOLR versions:
| SOLR version |
Compatible? |
| 8.x and earlier |
no |
| 9.x and later |
yes |
Prerequisites
This plugin requires you to have a configset in your SOLR configsets directory:
mkdir -p $SOLR_HOME/configsets/datastore_resource/conf
Copy the managed-schema and solrconfig.xml from this repository (ckanext/datastore_search/config/solr) into the above directory.
Installation
To install ckanext-datastore-search:
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate
Clone the source and in