我正在使用 elasticsearch 在我的 magento 网站中进行搜索。
我已经在我的服务器上安装了弹性搜索,但由于某些安全原因,
Akamai 已阻止 :9200 端口。
我与 Akamai 进行了交谈,他们说您可以使用 :8080 端口来运行弹性搜索。
我尝试通过更改 elastica 库中的默认端口以及 http 和非阻塞 tcp。
但即使我的日志文件中没有任何错误,它仍然无法正常工作。
请建议我们如何实现相同的
以下是我参考的一些发现。
https://github.com/elasticsearch/elasticsearch-ruby/tree/master/elasticsearch-transport
我也修改了path.conf。它看起来像下面提到的:
bin/elasticsearch -f -Des.path.conf=/path/to/config/dir
这将读取 /path/to/config/dir/elasticsearch.yml 和 /path/to/config/dir/elasticsearch.json。
但在我的情况下,我仍然无法看到输出。