Message Boards
Remote ElasticSearch server reindex data store path
srini vasulu, modified 3 Years ago.
Remote ElasticSearch server reindex data store path
Regular Member Posts: 139 Join Date: 2/22/11 Recent Posts
Hi ,I am adding the Elasticsearch server in remote system and configured below steps.here i am using elasticsearch-2.4.0 and liferay-ce-portal-7.0-ga5elasticsearch.yml file modified below lines:
cluster.name: LiferayElasticsearchCluster
network.host: xx.xx.xx.xx #ip address of Elasticsearch server
in liferay sideadded below file in /osgi/config/com.liferay.portal.search.elasticsearch.configuration.ElasticsearchConfiguration.config --- this file added in above path and in this file below properties added
transportAddresses="xx.xx.xxx.xx:9300" # here added the Elasticsearch server ip address
operationMode="REMOTE"
after adding above and restarted both servers . after restart then started the reindex all from control panel. but in remote server data folder i did not find the liferay-20116
Please let me know where it will store the data when we run the re-index all.
Regards
Srini
cluster.name: LiferayElasticsearchCluster
network.host: xx.xx.xx.xx #ip address of Elasticsearch server
in liferay sideadded below file in /osgi/config/com.liferay.portal.search.elasticsearch.configuration.ElasticsearchConfiguration.config --- this file added in above path and in this file below properties added
transportAddresses="xx.xx.xxx.xx:9300" # here added the Elasticsearch server ip address
operationMode="REMOTE"
after adding above and restarted both servers . after restart then started the reindex all from control panel. but in remote server data folder i did not find the liferay-20116
Please let me know where it will store the data when we run the re-index all.
Regards
Srini
Attachments:
Jorge Diaz, modified 3 Years ago.
RE: Remote ElasticSearch server reindex data store path
Liferay Master Posts: 753 Join Date: 1/9/14 Recent Posts
Hi srini vasulu,
Instead of configuring using com.liferay.portal.search.elasticsearch.configuration.ElasticsearchConfiguration.config file, go to System Settings => Foundation => Elasticsearch and check there you have:
Execute a full reindex and check that no error is thrown to the log file.
If you have any error in the log file please copy it here.
Instead of configuring using com.liferay.portal.search.elasticsearch.configuration.ElasticsearchConfiguration.config file, go to System Settings => Foundation => Elasticsearch and check there you have:
- The remote mode is enabled
- The cluster name matches with yours
Execute a full reindex and check that no error is thrown to the log file.
If you have any error in the log file please copy it here.