Skip to content

Instantly share code, notes, and snippets.

@thelebster
Created February 16, 2013 12:50
Show Gist options
  • Save thelebster/4966818 to your computer and use it in GitHub Desktop.
Save thelebster/4966818 to your computer and use it in GitHub Desktop.

Use "drush solr-index" instead of running cron. This saves more and more time exponentially the more nodes you have to index. Here's a shell script to run if you have a ton of nodes to index:

for i in {1..100}; do drush solr-index; done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment