← Open Source
o19s

elasticsearch-learning-to-rank

Plugin to integrate Learning to Rank (aka machine learning for better relevance) with Elasticsearch.

InfrastructureIndex & SearchJava
Open on GitHub
Momentum
+0stars in 24 hours0.0%
1.52k
Stars
373
Forks
+-1
This week
63
Contributors
Created 2016-12-25 · Updated 2026-10-14 · #10106 today
Top developers

o19s/elasticsearch-learning-to-rank is ranked 10,106 with 1,520 stars.

Same-category comparison

o19s/elasticsearch-learning-to-rank is ranked 10,106 among these 8 peers; Eric-mingjie/rethinking-network-pruning is ranked 10,122.

Same-category comparison
NameRankMetrics
AsuharietYgvar/AppleNeuralHash2ONNX10,067
Language:
Python
Stars:
1,534
Forks:
124
Description:
Convert Apple NeuralHash model for CSAM Detection to ONNX.
BennyKok/comfyui-deploy10,070
Language:
TypeScript
Stars:
1,533
Forks:
222
Description:
An open source `vercel` like deployment platform for Comfy UI.
e2b-dev/desktop10,076
Language:
Python
Stars:
1,532
Forks:
186
Description:
E2B Desktop Sandbox for LLMs. E2B Sandbox with desktop graphical environment that you can connect to any LLM for secure computer use.
mxsm/rocketmq-rust10,084
Language:
Rust
Stars:
1,529
Forks:
289
Eric-mingjie/rethinking-network-pruning10,122
Language:
Python
Stars:
1,513
Forks:
286
Description:
Rethinking the Value of Network Pruning (Pytorch) (ICLR 2019).
limecloud/lime10,186
Language:
TypeScript
Stars:
1,486
Forks:
208
Description:
Full-stack AI agent for coding, files, terminals, tools, research, content, multimodal work, and multi-agent workflows.
NVIDIA/deepops10,213
Language:
Shell
Stars:
1,477
Forks:
361
Description:
Tools for building GPU clusters.
SeldonIO/seldon-server10,214
Language:
Java
Stars:
1,477
Forks:
297
Description:
Machine Learning Platform and Recommendation Engine built on Kubernetes.
Key parameters and specifications
Key parameters and specifications
ParameterValue
LanguageJava
CategoryInfrastructure
SubcategoryIndex & Search
Stars1,520
Forks373
Contributors63
Created date2016-12-25
Updated date2026-10-14
Stars in 1 day0
Stars in 7 days-1
Rank10,106
Previous rank10,121
Rank change15
7-day stars rank17,118
Previous 7-day stars rank17,112
7-day stars rank change-6
Total stars rank8,014
Previous total stars rank8,002
Total stars rank change-12
CountryUSA
README summary

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! This plugin: Allows you to store features (Elasticsearch query templates) in Elasticsearch Logs features scores (relevance scores) to create a training set for offline model development Stores linear, xgboost, or ranklib ranking models in Elasticsearch that use features you've stored Ranks search results using a stored model Where's the docs? We recommend taking time to read

the docs. There's quite a bit of detailed information about learning to rank basics and how this plugin can ease learning to rank development. You can also participate in regular trainings on Elasticsearch Learning to Rank, which support the free work done on this plugin. The demo lives in another repo now, Hello LTR and it has both ES and Solr example. Follow the directions for Elasticsearch in the README to set up the environment and start with the notebooks

/elasticsearch/tmdb/hello-ltr. Installing See the full list of prebuilt versions and select the version that matches your Elasticsearch version. If you don't see a version available, see the link below for building or file a request via issues. To install, you'd run a command like this but replacing with the appropriate prebuilt version zip: (It's expected you'll confirm some security exceptions, you can pass to to automatically install) If you already are running Elasticsearch, don't forget to restart

! Known issues As any other piece of software, this plugin is not exempt from issues. Please read the known issues to learn about the current issues that we are aware of. This file might include workarounds to mitigate them when possible. Build and Deploy Locally Notes if you want to dig into the code or build for a version there's no build for, please feel free to run the build and installation process yourself: How to Contribute For more information

on helping us out (we need your help! ), developing with the plugin, creating docs, etc please read CONTRIBUTING. Elastic Release Support We do our best to officially support releases of Elasticsearch. If you have a need for "dot-oh" compatibility or a version we don't support please consider submitting a PR. Initially developed at OpenSource Connections. Significant contributions by Wikimedia Foundation, Snagajob Engineering, Bonsai, and Yelp Engineering Thanks to Jettro Coenradie for porting to ES 6. 1 Other Acknowledgments & Stuff

To Read Bloomberg's Learning to Rank work for Solr Our Berlin Buzzwords Talk, We built an Elasticsearch Learning to Rank plugin. Then came the hard part Blog article on How is Search Different from Other Machine Learning Problems Also check out our other relevance/search thingies: book Relevant Search, projects Elyzer, Splainer, and Quepid

Frequently asked questions

How many stars and forks are recorded?

o19s/elasticsearch-learning-to-rank has 1,520 stars and 373 forks.

What is the repository rank?

o19s/elasticsearch-learning-to-rank is ranked 10,106.

What language and category are recorded?

o19s/elasticsearch-learning-to-rank has 1,520 stars, uses Java and belongs to Infrastructure.

Which repository is closest in rank?

o19s/elasticsearch-learning-to-rank is compared with Eric-mingjie/rethinking-network-pruning, ranked 10,122 with 1,513 stars.

README

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!

What this plugin does...

This plugin:

  • Allows you to store features (Elasticsearch query templates) in Elasticsearch
  • Logs features scores (relevance scores) to create a training set for offline model development
  • Stores linear, xgboost, or ranklib ranking models in Elasticsearch that use features you've stored
  • Ranks search results using a stored model

Where's the docs?

We recommend taking time to read the docs. There's quite a bit of detailed information about learning to rank basics and how this plugin can ease learning to rank development.

You can also participate in regular trainings on Elasticsearch Learning to Rank, which support the free work done on this plugin.

I want to jump in!

The demo lives in another repo now, Hello LTR and it has both ES and Solr example. Follow the directions for Elasticsearch in the README to set up the environment and start with the notebooks/elasticsearch/tmdb/hello-ltr.ipynb. Have fun!

Installing

See the full list of prebuilt versions and select the version that matches your Elasticsearch version. If you don't see a version available, see the link below for building or file a request via issues.

To install, you'd run a command like this but replacing with the appropriate prebuilt version zip:

./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

(It's expected you'll confirm some security exceptions, you can pass -b to elasticsearch-plugin to automatically install)

If you already are running Elasticsearch, don't forget to restart!

Known issues

As any other piece of software, this plugin is not exempt from issues. Please read the known issues to learn about the current issues that we are aware of. This file might include workarounds to mitigate them when possible.

Build and Deploy Locally

Notes if you want to dig into the code or build for a version there's no build for, please feel free to run the build and installation process yourself:

./gradlew clean check
./bin/elasticsearch-plugin install file:///path/to/elasticsearch-learning-to-rank/build/distributions/ltr--es.zip

How to Contribute

For more information on helping us out (we need your help!), developing with the plugin, creating docs, etc please read CONTRIBUTING.md.

Elastic Release Support

We do our best to officially support *.*.1 releases of Elasticsearch. If you have a need for "dot-oh" compatibility or a version we don't support please consider submitting a PR.

Who built this?

Other Acknowledgments & Stuff To Read

Nearby in the ranking
Similar items