This is an example of a custom rescore plugin that is based on the original rescore plugin example. Besides the plugin, the project includes the configuration files to install the plugin and start Elasticsearch and debug the source files.
gradle test yamlRestTest
gradle run