- Java 97.8%
- Python 2%
- Shell 0.2%
Signed-off-by: Darshit Chanpura <dchanp@amazon.com> Co-authored-by: Scott Stults <sstults@opensourceconnections.com> Co-authored-by: Daniel Wrigley <54574577+wrigleyDan@users.noreply.github.com> |
||
|---|---|---|
| .github | ||
| demo/xgboost-demo | ||
| gradle/wrapper | ||
| licenses | ||
| release-notes | ||
| sample_models | ||
| scripts | ||
| src | ||
| .eclipseformat.xml | ||
| .gitignore | ||
| .java-version | ||
| .licenserc.json | ||
| .whitesource | ||
| ADMIN.md | ||
| build.gradle | ||
| CODE_OF_CONDUCT.md | ||
| CONTRIBUTING.md | ||
| DEVELOPER_GUIDE.md | ||
| gradle.properties | ||
| gradlew | ||
| gradlew.bat | ||
| KNOWN_ISSUES.md | ||
| LICENSE.txt | ||
| MAINTAINERS.md | ||
| NOTICE.txt | ||
| README.md | ||
| SECURITY.md | ||
| settings.gradle | ||
OpenSearch Learning to Rank
OpenSearch Learning to Rank is an OpenSearch plugin that uses machine learning to improve search relevance ranking. It lets you store features (templated queries), log feature values to build training data, upload models trained with tools such as RankLib or XGBoost, and rescore search results with those models at query time.
This project is a fork of the Elasticsearch Learning to Rank plugin, rewritten in parts to work with OpenSearch. The original Elasticsearch LTR plugin powers search at places like Wikimedia Foundation and Snagajob.
For usage, see the OpenSearch Learning to Rank documentation.
Installation
Starting with OpenSearch 2.19, the Learning to Rank plugin is included in the default OpenSearch distribution. No separate installation is needed.
For the minimal distribution or custom builds, install the plugin zip that matches your OpenSearch version. The plugin zips are published to Maven Central:
| OpenSearch | Location | Example |
|---|---|---|
| 3.x | org.opensearch:ltr |
bin/opensearch-plugin install https://repo1.maven.org/maven2/org/opensearch/ltr/3.9.0.0/ltr-3.9.0.0.zip |
| 2.19.x | org.opensearch:opensearch-ltr |
bin/opensearch-plugin install https://repo1.maven.org/maven2/org/opensearch/opensearch-ltr/2.19.0.0/opensearch-ltr-2.19.0.0.zip |
Zips for releases before 2.19 are available on the releases page.
If you are already running OpenSearch, don't forget to restart it after installing the plugin.
Legacy releases
| OpenSearch | Command |
|---|---|
| 1.0.0 | bin/opensearch-plugin install https://github.com/aparo/opensearch-learning-to-rank/releases/download/1.0.0/ltr-1.5.4-os1.0.0.zip |
| 1.1.0 | bin/opensearch-plugin install https://github.com/aparo/opensearch-learning-to-rank/releases/download/1.1.0/ltr-1.5.4-os1.1.0.zip |
| 1.2.0 | bin/opensearch-plugin install https://github.com/aparo/opensearch-learning-to-rank/releases/download/1.2.0/ltr-1.5.4-os1.2.0.zip |
| 1.2.2 | bin/opensearch-plugin install https://github.com/aparo/opensearch-learning-to-rank/releases/download/1.2.2/ltr-1.5.4-os1.2.2.zip |
| 1.2.3 | bin/opensearch-plugin install https://github.com/aparo/opensearch-learning-to-rank/releases/download/1.2.3/ltr-1.5.4-os1.2.3.zip |
| 2.2.1 | bin/opensearch-plugin install https://github.com/aparo/opensearch-learning-to-rank/releases/download/2.2.1/ltr-2.0.0-os2.2.1.zip |
| 2.5.0 | bin/opensearch-plugin install https://github.com/gsingers/opensearch-learning-to-rank-base/releases/download/release-v2.1.0/ltr-plugin-v2.1.0.zip |
| 2.11.1 | bin/opensearch-plugin install https://github.com/opensearch-project/opensearch-learning-to-rank-base/releases/download/release-v2.11.1/ltr-plugin-v2.11.1.zip |
| 2.17.1 | bin/opensearch-plugin install https://github.com/opensearch-project/opensearch-learning-to-rank-base/releases/download/2.17.1/ltr-2.17.1-os2.17.1.zip |
(You'll be asked to confirm some security exceptions; pass -b to opensearch-plugin to accept them automatically.)
Project Resources
- Project Website
- Downloads
- Documentation
- Need help? Try the Forums or the
#searchchannel on Slack - Project Principles
- Contributing to OpenSearch Learning to Rank
- Developer Guide
- Maintainer Responsibilities
- Admin Responsibilities
- Security
- Known Issues
- Release Notes
- Code of Conduct
- License
- Copyright
Code of Conduct
This project has adopted the Amazon Open Source Code of Conduct. For more information see the Code of Conduct FAQ, or contact opensource-codeofconduct@amazon.com with any additional questions or comments.
License
This project is licensed under the Apache v2.0 License.
Copyright
Copyright OpenSearch Contributors. See NOTICE for details.