don't wait for completion

This commit is contained in:
byte[] 2020-05-02 18:30:11 -04:00
parent af9e779c59
commit ca8c9fe636

View file

@ -113,7 +113,7 @@ defmodule Philomena.Elasticsearch do
url = url =
elastic_url() elastic_url()
|> prepare_url([index.index_name(), "_update_by_query"]) |> 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 # Elasticsearch "Painless" scripting language
script = """ script = """