是的,可以通过reactsearch连接到普通的Elasticsearch集群
(docs) 这
似乎是你使用了正确的道具。样例代码:
<Reactivebase app="your-elasticsearch-index" url="http://your-elasticsearch-cluster"> <Component1 .. /> <Component2 .. /></Reactivebase>
The
appS结合使用。由于AWS不允许您配置ES设置,因此您可能需要
使用中间件代理服务器。从
如果您在AWS上使用Elasticsearch,则建议的方法是
通过中间件代理进行连接,因为它们不允许设置
Elasticsearch配置。
The docs also explain how you can write your own proxy server.
TLDR:
- Proxy server
- Using the proxy server in client app with reactivesearch
您在此处看到的与Websocket相关的连接错误不是导致此问题的原因。它用于在appbase.io上运行的流。此问题已在2.2.0发行版中修复。希望这可以帮助 :)



