Link Search Menu Expand Document Documentation Menu

You're viewing version 3.5 of the OpenSearch documentation. This version is no longer maintained. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.

Learning to Rank

The Learning to Rank plugin for OpenSearch enables you to use machine learning (ML) and behavioral data to fine-tune the relevance of documents. It uses models from the XGBoost and RankLib libraries. These models rescore the search results, considering query-dependent features such as click-through data or field matches, which can further improve relevance.

The term learning to rank is abbreviated as LTR throughout the OpenSearch documentation when the term is used in a general sense. For the plugin developer documentation, see opensearch-learning-to-rank-base.

Getting started

The following resources can help you get started:

Core concepts and setup

Before implementing LTR, familiarize yourself with the foundational concepts and architecture:

Feature engineering and model development

Create and train your ranking models using the following workflow:

Deployment and advanced topics

Once your models are trained, deploy them in production and explore advanced features:

350 characters left

Have a question? .

Want to contribute? or .