Closed Mahammadnajaf closed 1 year ago
sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install https://github.com/o19s/elasticsearch-learning-to-rank/releases/download/v1.3.1/ltr-1.3.1-es6.8.0.zip
This command downloads and installs the plugin from the specified URL. Note that the URL points to the zip file for version 1.3.1, which is compatible with Elasticsearch 6.8.x. Replace the URL with the appropriate one for the version you want to install.
After installing the plugin, you can check its status using the following command:
sudo systemctl status elasticsearch
If the plugin is installed and working correctly, you should see it listed as one of the active plugins.
"version" : { "number" : "6.8.23", "build_flavor" : "default", "build_type" : "deb", "build_hash" : "4f67856", "build_date" : "2022-01-06T21:30:50.087716Z", "build_snapshot" : false, "lucene_version" : "7.7.3", "minimum_wire_compatibility_version" : "5.6.0", "minimum_index_compatibility_version" : "5.0.0" }
$ sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install https://github.com/o19s/elasticsearch-learning-to-rank/releases/download/v1.5.4-es7.11.2/ltr-plugin-v1.5.4-es7.11.2.zip
Showing Error as: -> Downloading https://github.com/o19s/elasticsearch-learning-to-rank/releases/download/v1.5.4-es7.11.2/ltr-plugin-v1.5.4-es7.11.2.zip [=================================================] 100%
Exception in thread "main" java.lang.IllegalArgumentException: Unknown properties in plugin descriptor: [type] at org.elasticsearch.plugins.PluginInfo.readFromProperties(PluginInfo.java:235) at org.elasticsearch.plugins.InstallPluginCommand.loadPluginInfo(InstallPluginCommand.java:724) at org.elasticsearch.plugins.InstallPluginCommand.installPlugin(InstallPluginCommand.java:803) at org.elasticsearch.plugins.InstallPluginCommand.install(InstallPluginCommand.java:786) at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:232) at org.elasticsearch.plugins.InstallPluginCommand.execute(InstallPluginCommand.java:217) at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:77) at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) at org.elasticsearch.cli.Command.main(Command.java:90) at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:47) ubuntu@ip-10-205-160-226:~$ sudo systemctl status elasticsearch
Any Solution for this ?