[英]elastic search client using R packages
I am using elastic search
as data store. 我使用elastic search
作为数据存储。 In my project i need to analyze the elastic search
data using R
. 在我的项目中,我需要使用R
来分析elastic search
数据。 In java
i did these operations using es client. 在java
我使用es客户端进行了这些操作。 But i couldn't find any packages in R
that support elastic search
operations. 但我在R
中找不到任何支持elastic search
操作的软件包。 I have tried using RCurl
packages like this: 我尝试过使用像这样的RCurl
包:
count <- fromJSON(getURL("http://localhost:9200/myindex/mytype/_count"))
But this is not i want. 但这不是我想要的。 Is there any packages in CRAN
or other repositories that perform elastic search
operations? CRAN
或其他存储库中是否有执行elastic search
操作的软件包?
Thanks 谢谢
I've been working on an elasticsearch R client here https://github.com/ropensci/elastic 我一直在这里开发一个elasticsearch R客户端https://github.com/ropensci/elastic
There's a bunch of examples here https://github.com/ropensci/elastic#quick-start 这里有一堆例子https://github.com/ropensci/elastic#quick-start
It is alpha software though, so expect changes. 它虽然是alpha软件,所以期待变化。 I'll try to get alot of work done on it next month. 我会在下个月尝试完成很多工作。
Would love pull requests. 爱拉请求。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.