Skip to content

Instantly share code, notes, and snippets.

@DBezemer
Created May 17, 2019 12:09
Show Gist options
  • Save DBezemer/dc8756c0d57f326e12bd144d83b7e1cd to your computer and use it in GitHub Desktop.
Save DBezemer/dc8756c0d57f326e12bd144d83b7e1cd to your computer and use it in GitHub Desktop.
parallel sphinx reindex
peers=(entryPeer categoryPeer kuserPeer CuePointPeer TagPeer MetadataPeer categoryKuserPeer);
for peerName in "${peers[@]}"; do nohup /usr/bin/php /opt/kaltura/app/alpha/scripts/utils/updatePartnerEntries2Sphinx.php -1 execute ${peerName} >> /opt/kaltura/log/kaltura_reindex.log 2>&1 & done
unset peers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment