简体   繁体   English

在8080端口上使用Magento进行弹性搜索

[英]Elastic Search with Magento on 8080 port

I am using elasticsearch for searching in my magento website. 我正在使用Elasticsearch在我的magento网站中进行搜索。

I have install the elastic serch on my server but due to some security reason, 我已经在服务器上安装了弹性服务器,但是由于安全原因,

Akamai has blocked the :9200 port. Akamai已阻止了:9200端口。

i have the conversation with Akamai, they are saying you can use :8080 port for running elastic search. 我与Akamai进行了交谈,他们说您可以使用:8080端口运行弹性搜索。

I have tried by changing default port in the elastica library as well as http and non-blocked tcp. 我尝试通过更改Elastica库以及http和非阻塞tcp中的默认端口来进行尝试。

But still it is not working even i am not getting any error in my log files. 但是,即使我的日志文件中没有任何错误,它仍然无法正常工作。

Please suggest how we can the implement the same 请提出我们可以如何实现相同的建议

Below are the some of my finding which i refer. 以下是我参考的一些发现。

http://www.elasticsearch.org/guide/en/elasticsearch/client/javascript-api/current/host-reference.html http://www.elasticsearch.org/guide/en/elasticsearch/client/javascript-api/current/host-reference.html

https://github.com/elasticsearch/elasticsearch-ruby/tree/master/elasticsearch-transport https://github.com/elasticsearch/elasticsearch-ruby/tree/master/elasticsearch-transport

I have also modify path.conf. 我也修改了path.conf。 It would look like mention below: 如下所示:

bin/elasticsearch -f -Des.path.conf=/path/to/config/dir

That will read /path/to/config/dir/elasticsearch.yml and /path/to/config/dir/elasticsearch.json. 这将读取/path/to/config/dir/elasticsearch.yml和/path/to/config/dir/elasticsearch.json。

But still i am not able to see output in my case. 但是我仍然看不到我的情况下的输出。

I believe you will need to alter the config files, elasticsearch configuration files can be found under ES_HOME/config folder. 我相信您将需要更改配置文件,可以在ES_HOME / config文件夹下找到elasticsearch配置文件。

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-configuration.html http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-configuration.html

You will need to alter the "http.port" 您将需要更改“ http.port”

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-http.html#_settings_2 http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-http.html#_settings_2

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM