Created
November 8, 2013 11:28
-
-
Save eojthebrave/7369717 to your computer and use it in GitHub Desktop.
Setup Apache Solr to work with Drupal 7.x on a Mac using homebrew.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# I did this from the root directory of our git repo. But you can probably | |
# do it from anywhere. | |
brew install solr | |
mkdir solr-config | |
cp -r /usr/local/Cellar/solr/4.5.0/libexec/example/ solr-config/ | |
cp docroot/sites/all/modules/contrib/apachesolr/solr-conf/solr-4.x/* solr-config/solr/collection1/conf/ | |
cd solr-conf | |
java -jar start.jar | |
# Reindex everything. | |
drush solr-mark-all | |
drush solr-index |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment