From ca8c9fe6367ff518289198e38a0714a3afee1e22 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Sat, 2 May 2020 18:30:11 -0400 Subject: [PATCH] don't wait for completion --- lib/philomena/elasticsearch.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/philomena/elasticsearch.ex b/lib/philomena/elasticsearch.ex index c9fd2305..f4d92f81 100644 --- a/lib/philomena/elasticsearch.ex +++ b/lib/philomena/elasticsearch.ex @@ -113,7 +113,7 @@ defmodule Philomena.Elasticsearch do url = elastic_url() |> prepare_url([index.index_name(), "_update_by_query"]) - |> append_query_string(%{conflicts: "proceed"}) + |> append_query_string(%{conflicts: "proceed", wait_for_completion: "false"}) # Elasticsearch "Painless" scripting language script = """