Closed sckott closed 3 years ago
wil wait to see if others see this problem as well
I tried running
conn <- elastic::connect(port = 80,
host = "search.r-pkg.org",
path = "package/_search")
elastic::Search(conn, q = 'Author = "Chamberlain"')
and ran into the problem mentioned in this issue.
All the possibilities you mention seem ok to me, but in the case I haven't passed an argument and the package guesses the version from the root, I'd expect a message.
thanks @maelle having a look
seems like you don't actually need the path
defined in connect()
, eg..,
conn <- connect(port = 80, host = "search.r-pkg.org")
conn$ping()
conn$es_ver()
Search(conn, q = 'Author = "Salmon"')$hits$total
Oh, thank you! 🎉
closing, no other pings on this
via https://github.com/metacran/seer/issues/12
ES version information is essentially required to use this pkg.
I think the solution might be to have a separate config option to either
connect(version = '1.3.9')
connect(ping_path = "/foo/bar")
/