Elasticsearch throws the warning one argument not used by format '{"%s":{"_index":"%s"}}' when inserting data with docs_bulk_index() (and possibly other related functions). Despite that, the data seems to get inserted correctly.
Elasticsearch versions tested:
7.17.3
7.6.1
elastic package versions tested:
1.2.0 (CRAN)
1.2.1.91 (latest github version at the time of writing)
Steps to reproduce:
con <- elastic::connect("127.0.0.1")
dd <- data.frame(
level = 400L,
stringsAsFactors = FALSE)
elastic::docs_bulk_index(
con,
x = dd,
index = "test_index",
quiet = TRUE
)
Elasticsearch throws the warning
one argument not used by format '{"%s":{"_index":"%s"}}'
when inserting data withdocs_bulk_index()
(and possibly other related functions). Despite that, the data seems to get inserted correctly.Elasticsearch versions tested:
elastic package versions tested:
Steps to reproduce: