<p dir="auto">Add possibility to cancel a search request in ES.</p>
<p dir="auto">When  a request is sent  from a web site and the end-user decide to go to another page, we will like to have the possibility  to stop the current search .</p>
<p dir="auto">Currently <code class="notranslate">service.bat</code> and <code class="notranslate">elasticsearch.bat</code> duplicate the code required to trigger the variable and classpath initialization on windows. In a similar vein to <code class="notranslate">elasticsearch.in.sh</code>, a common file between the two would simplify the maintenance of the two going forward.</p>