Skip to content

Instantly share code, notes, and snippets.

@gcarothers
Created July 2, 2014 01:38
Show Gist options
  • Save gcarothers/5b6d9e67ef11d00294a3 to your computer and use it in GitHub Desktop.
Save gcarothers/5b6d9e67ef11d00294a3 to your computer and use it in GitHub Desktop.
chord(
list(index_all_cases(index_name, cluster)) +\
list(index_all_patents(index_name, cluster)) +\
list(index_all_law_firms(index_name, cluster)) +\
list(index_all_attorneys(index_name, cluster)) +\
list(index_all_cpcs(index_name, cluster)),
)(switch_to_running_index_settings.s(index_name=index_name, cluster=cluster) |\
cleanup_old_indexes.s(by_date=True, prefix=prefix, cluster=cluster))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment