Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs_bulk_index warns 'one argument not used by format' #288

Open
s-fleck opened this issue Apr 26, 2022 · 2 comments · May be fixed by #300
Open

docs_bulk_index warns 'one argument not used by format' #288

s-fleck opened this issue Apr 26, 2022 · 2 comments · May be fixed by #300

Comments

@s-fleck
Copy link

s-fleck commented Apr 26, 2022

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
)
s-fleck pushed a commit to s-fleck/lgrExtra that referenced this issue Apr 26, 2022
@sckott
Copy link
Contributor

sckott commented May 24, 2022

thanks i'll have a look

@maelle
Copy link
Member

maelle commented Sep 9, 2022

For info this package is looking for a new maintainer cf #292 😸

wibom added a commit to wibom/elastic that referenced this issue Nov 5, 2023
@wibom wibom linked a pull request Nov 5, 2023 that will close this issue
wibom added a commit to wibom/elastic that referenced this issue Nov 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants