# 假设新建一个叫 core1 的 core | |
mkdir -p /path/to/core1/data | |
cd /path/to/project | |
cp -r `bundle show sunspot_solr`/solr/solr/conf /path/to/core1 | |
bundle exec rake sunspot:solr:start | |
open http://localhost:8982/solr/admin/cores?action=CREATE&name=core1&instanceDir=/path/to/core1&config=/path/to/core1/conf/solrconfig.xml&schema=/path/to/core1/conf/schema.xml&dataDir=/path/to/core1/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment