vta / Open-Data-Portal

connection to VTA's open data portal
http://data2.vta.org/
3 stars 4 forks source link

Refresh SOLR without rebuilding #58

Closed 3vivekb closed 7 years ago

3vivekb commented 7 years ago

Figure out how to refresh the solr index without just rebuilding all of the solr dockerfile.

3vivekb commented 7 years ago

login to the ckan instance:

docker exec -i -t ckan /bin/bash

and then run this command:

paster --plugin=ckan search-index rebuild --config=/etc/ckan/default/production.ini

documented here: http://docs.ckan.org/en/latest/maintaining/paster.html

riordan commented 7 years ago

This can also be done without needing to log into the bash environment: docker exec -t ckan paster --plugin=ckan search-index rebuild --config=/etc/ckan/default/production.ini