elasticsearch,proxy-server,Amazon Web Services,elasticsearch,Proxy Server" /> elasticsearch,proxy-server,Amazon Web Services,elasticsearch,Proxy Server" />

Amazon web services 如何通过reactivesearch代理服务器连接到AWS上的ElasticSearch

Amazon web services 如何通过reactivesearch代理服务器连接到AWS上的ElasticSearch,amazon-web-services,elasticsearch,proxy-server,Amazon Web Services,elasticsearch,Proxy Server,我正在使用ReactiveSearch设置我的第一个ElasticSearch应用程序,以连接到我在AWS上创建的ElasticSearch索引。 我不熟悉Node.js和这里涉及的大部分技术。我想我有一个基本的ReactiveSearch应用程序可以运行,但它无法连接到我的AWS ElasticSearch索引。当我输入搜索时,我没有得到任何输出,也没有错误 我遵循了ReactiveSearch快速入门指南: 我用CRA创建了样板应用程序: 应用程序运行正常,但在我尝试搜索时没有输出。 然

我正在使用ReactiveSearch设置我的第一个ElasticSearch应用程序,以连接到我在AWS上创建的ElasticSearch索引。 我不熟悉Node.js和这里涉及的大部分技术。我想我有一个基本的ReactiveSearch应用程序可以运行,但它无法连接到我的AWS ElasticSearch索引。当我输入搜索时,我没有得到任何输出,也没有错误

我遵循了ReactiveSearch快速入门指南:

我用CRA创建了样板应用程序:

应用程序运行正常,但在我尝试搜索时没有输出。 然后我看到一条注释,你必须在AWS中使用代理。我克隆了它并使其正常工作,现在我有了一个在
http://localhost:7777/

我的搜索应用程序连接到代理,如下所示:

<ReactiveBase
  app="my-search"
  url="http://localhost:7777">
我可以在
http://localhost:3000

当我在搜索框中键入关键字时,我会在代理应用程序中看到如下输出:

Verifying requests ✔ {"preference":"results"}
{"query":{"bool":{"must":[{"bool":{"must":[{"bool":{"should":[{"multi_match":{"query":"cables","fields":["Description"],"type":"best_fields","operator":"or","fuzziness":0}},{"multi_match":{"query":"cables","fields":["Description"],"type":"phrase_prefix","operator":"or"}}],"minimum_should_match":"1"}}]}}]}},"size":50,"_source":{"includes":["*"],"excludes":[]},"from":0}

Verifying requests ✔ {"preference":"SearchBox"}
{"query":{"bool":{"must":[{"bool":{"must":{"bool":{"should":[{"multi_match":{"query":"horse","fields":["Description"],"type":"best_fields","operator":"or","fuzziness":0}},{"multi_match":{"query":"horse","fields":["Description"],"type":"phrase_prefix","operator":"or"}}],"minimum_should_match":"1"}}}}]}},"size":20}
我错过了什么才能让连接正常工作?我是否需要在AWS中添加某种身份验证并向代理代码添加密码

有没有办法查看一些调试信息

谢谢, 菲尔

Verifying requests ✔ {"preference":"results"}
{"query":{"bool":{"must":[{"bool":{"must":[{"bool":{"should":[{"multi_match":{"query":"cables","fields":["Description"],"type":"best_fields","operator":"or","fuzziness":0}},{"multi_match":{"query":"cables","fields":["Description"],"type":"phrase_prefix","operator":"or"}}],"minimum_should_match":"1"}}]}}]}},"size":50,"_source":{"includes":["*"],"excludes":[]},"from":0}

Verifying requests ✔ {"preference":"SearchBox"}
{"query":{"bool":{"must":[{"bool":{"must":{"bool":{"should":[{"multi_match":{"query":"horse","fields":["Description"],"type":"best_fields","operator":"or","fuzziness":0}},{"multi_match":{"query":"horse","fields":["Description"],"type":"phrase_prefix","operator":"or"}}],"minimum_should_match":"1"}}}}]}},"size":20}