GitHub user marevol opened a pull request: https://github.com/apache/incubator-predictionio/pull/370
Add EVENTDATA_REFRESH for elasticsearch To improve indexing performance for event data, it's better to be able to set refresh parameter. In PIO, refresh is true by default because updated data need to be made visible immediately. To disable refresh on indexing actions, in this fix, set it as below: PIO_STORAGE_SOURCES_ELASTICSEARCH_EVENTDATA_REFRESH=false You can merge this pull request into a Git repository by running: $ git pull https://github.com/marevol/incubator-predictionio add_refresh Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-predictionio/pull/370.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #370 ---- commit 61203480bf7b333bf969e0a25f18cc95c0a55311 Author: Shinsuke Sugaya <shins...@yahoo.co.jp> Date: 2017-04-12T08:31:20Z add EVENTDATA_REFRESH for elasticsearch ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---