The version is used not just in the title and description but also in the 
starting script (to setup the classpath and such).
This is done on purpose, to make sure the incorrect version is not loaded by 
accident (path rename, reinstall, etc...).
You could use sym links but then you'd have to re-edit the startup scripts as 
well. It's simpler to reinstall the service:

service remove
<upgrade>
service install


On 12/3/14 7:26 PM, Steve Camire wrote:
Would setting up a symbolic link still necessitate re-installing the Windows 
service after each upgrade? I noticed that
the service, when installed, contains version-specific information in places 
such as the display name and description.

IE:
Elasticsearch 1.4.1 (node-01)
Elasticsearch 1.4.1 Windows Service - http://elasticsearch.org

Is there anything else (and possibly more important) that would make the 
Windows service more version-specific and
necessitate re-installing it after every upgrade?

On Thursday, July 17, 2014 3:51:31 AM UTC-4, Costin Leau wrote:

    Hi,

    Remove the old service (service remove) then install it again using the new 
path.
    Going forward you might want to look into using file-system links (which 
Windows Vista + supports) so that you can make
    an alias
    to the folder, install the service for it and reuse that across installs.
    That is, install under c:\elasticsearch\current (which can point to 1.1.0, 
then 1.1.1, 1.2.2, etc...) while your
    service
    points to
    \current.
    Of course, you need to check whether each version introduces some changes 
into the init/stop script (does happen though
    rarely)
    and use that.

    Cheers,
    --
    Costin

--
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to
elasticsearch+unsubscr...@googlegroups.com 
<mailto:elasticsearch+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/8d94910a-6003-475e-bf9c-d670db61fa59%40googlegroups.com
<https://groups.google.com/d/msgid/elasticsearch/8d94910a-6003-475e-bf9c-d670db61fa59%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

--
Costin

--
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/5480525A.6070800%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to