You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 18, 2020. It is now read-only.
In embedded-elasticsearch 2.4.4, a change was made (see below) to delete the ES installation directory before installing. This means that it is no longer possible to re-use the ES installation between runs. I have been using embedded-elasticsearch for development so that I can easily have a cleanable ES install on my laptop without needing to manage a full ES cluster. That doesn't mean that I want it wiped every time though. It was very convenient to be able to keep the data in there during development, but wipe and reinstall when necessary.
This (I thought) was the point of the cleanInstallationDirectoryOnStop option, but that is basically useless now. It doesn't clean the directory when stopping, but it does it the next run regardless.
I think that this behavior should be made optional, either with the cleanInstallationDirectoryOnStop option, or a new cleanInstallationDirectoryOnStart option.
commit 9fd888bf0eefa9497321f6abb98da6b871dd60c1 (tag: embedded-elasticsearch-2.4.4)
Author: Grzegorz Kaczmarczyk <[email protected]>
Date: Mon Feb 19 23:51:25 2018 +0100
delete installation directory before installation
The text was updated successfully, but these errors were encountered:
In embedded-elasticsearch 2.4.4, a change was made (see below) to delete the ES installation directory before installing. This means that it is no longer possible to re-use the ES installation between runs. I have been using embedded-elasticsearch for development so that I can easily have a cleanable ES install on my laptop without needing to manage a full ES cluster. That doesn't mean that I want it wiped every time though. It was very convenient to be able to keep the data in there during development, but wipe and reinstall when necessary.
This (I thought) was the point of the
cleanInstallationDirectoryOnStop
option, but that is basically useless now. It doesn't clean the directory when stopping, but it does it the next run regardless.I think that this behavior should be made optional, either with the
cleanInstallationDirectoryOnStop
option, or a newcleanInstallationDirectoryOnStart
option.The text was updated successfully, but these errors were encountered: