loopback connector for ElasticSearch

这一生的挚爱 提交于 2019-12-12 10:52:20

问题


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.

Any guidance would be really appreciated on how I can create an API for my app using Loopback and ElasticSearch.


回答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 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

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



来源:https://stackoverflow.com/questions/30228479/loopback-connector-for-elasticsearch

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!