问题描述
在npm上至少有两个不同的软件包可用,和。我无法将我的基本环回api连接到我的ES实例,而这两个连接器上的稀疏文档没有帮助。
There are at least two different packages available on npm, loopback-connector-elastic-search and loopback-connector-es. I have not been able to connect my very basic Loopback api to my ES instance, and the sparse documentation on these two connectors is not helping.
任何指导都将非常感谢关于我如何使用Loopback和ElasticSearch为我的应用程序创建API。
Any guidance would be really appreciated on how I can create an API for my app using Loopback and ElasticSearch.
推荐答案
最初 loopback-connector - 弹性搜索
由 drakerian
发布,但如果您浏览了这些提交,则自2014年10月1日起尚未开发:
Originally loopback-connector-elastic-search
was published by drakerian
but hasn't been under development since Oct 1st, 2014 if you peek into the commits: https://github.com/drakerian/loopback-connector-elastic-search
loopback-connector-es
是原始版本的一个分支,目前正在积极开发中,所以请使用它。
loopback-connector-es
is a fork from that original effort and is currently under active development so please use that.https://github.com/strongloop-community/loopback-connector-elastic-search
你会注意到它在github下托管在 strongloop-community
And you'll notice that it is hosted on github under strongloop-community
which means it has a future even if the current author (me) gets hit by a truck :)
如果在参考这里的说明之后: ...你有问题,然后跳进聊天室得到一些答案:
If even after referring to the instructions here: https://github.com/strongloop-community/loopback-connector-elastic-search#loopback-connector-elastic-search ... you have questions then just jump into the chat room to get some answers: https://gitter.im/strongloop-community/loopback-connector-elastic-search
这篇关于ElasticSearch的环回连接器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!