Skip to content

Instantly share code, notes, and snippets.

Ilia Saulenko mynameiswhm

Block or report user

Report or block mynameiswhm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mynameiswhm /
Created Dec 4, 2015
Bulk reindexing elasticsearch to another cluster using jq
if [ $# -lt 3 ]
echo "Usage: source_url target_url index [query]"
echo "Example: products_v1 '{\"query\":{\"range\":{\"mod_date\":{\"from\":\"2015-12-03T20:00:00\"}}}}'"
exit 1
You can’t perform that action at this time.