NRGI / resourcedata.org

CKAN
3 stars 1 forks source link

resourcedata.org

CKAN

SOLR setup

Note that we have no authentication, if someone knows the link they have full admin access.

The steps documented above are already executed. From here on, the ECS services (and optionally the docker-compose file) will have to be modified.

We will have to set the links in the CKAN container definitions. We will use the SOLR_URL variable which will contain one of the two master/staging links below. Use the master link for master, staging link for staging: master: https://ss288577-us-east-1-aws.measuredsearch.com/solr/master staging:https://ss288577-us-east-1-aws.measuredsearch.com/solr/staging

The old SOLR_PORT_8983_TCP_ADDR and PORT variables will be no longer used. Also the solr container will no longer be used.

After the link to the hosted solr is up, we should rebuild the index, as specified by Matt above.

Reindex datasets

Connect to the CKAN container and run the following:

cd /usr/lib/ckan/default
./bin/paster --plugin=ckan search-index rebuild --config=/etc/ckan/default/ckan.ini