Elastic search plugin LTR install is first plugin i have installed for elastic. I had trouble to install it on Windows. So ill share exact steps to take so you could not waste time.
About LTR plugin
The Elasticsearch Learning to Rank plugin uses machine learning to improve search relevance ranking. It's powering search at places like Wikimedia Foundation and Snagajob!
Important
* LTR plugin is build to exact Elastic version. For example: "ltr-1.1.0-es6.4.1.zip" is build for 6.4.1 elastic version. So first make sure you find correct versions.Plugins to download:
http://es-learn-to-rank.labs.o19s.com/
Elastic search to download / renew version:
https://www.elastic.co/downloads/
1. Renew elastic if required for versions to match
2. Download plugin zip
3. Open cmd.exe ( command prompt )
4. Go to for example "C:\Elastic\6.4.1\bin"
5. Run "elasticsearch-plugin.bat install file:///c:/Elastic/6.4.0/ltr-1.1.0-es6.4.1.zip" . Make sure you write 'file:///' before path. Else you might get error like "Exception in thread "main" java.net.MalformedURLException: unknown protocol: c".
6. Done.
Helpful
Other instructions can be found here:https://github.com/o19s/elasticsearch-learning-to-rank
Preparing / training data:
https://github.com/o19s/elasticsearch-learning-to-rank/tree/master/demo