Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
Remote ElasticSearch server reindex data store path
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:
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.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™