From 9ca952ca89d7a6d667ea54d195a946c02bdd6325 Mon Sep 17 00:00:00 2001 From: Erik de Vries <36228125+vriezer@users.noreply.github.com> Date: Thu, 25 Apr 2019 19:45:44 +0200 Subject: [PATCH] elastic_update: removed wait_for from url --- R/elastic_update.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/elastic_update.R b/R/elastic_update.R index 96bddc4..3833a18 100644 --- a/R/elastic_update.R +++ b/R/elastic_update.R @@ -15,7 +15,7 @@ elastic_update <- function(x, es_super = 'secret', localhost = T) { bulk <- paste0(paste0(x, collapse = '\n'),'\n') if (localhost == F) { - url <- paste0('https://super:',es_super,'@linux01.uis.no/es/_bulk?pretty&refresh=wait_for') + url <- paste0('https://super:',es_super,'@linux01.uis.no/es/_bulk?pretty') } if (localhost == T) { url <- 'http://localhost:9200/_bulk?pretty'