Skip to content

Metarank

Self-hosted ranking service for teams adding personalized search and recommendations

Permissive (OSI) · Apache-2.0 AI-native EU-based

Listed by , founder & editor

54

Health

Slowing

Overview

Stars

2,461

Last commit

2 months ago

Oct 2026

Repository age

6 years

since Aug 2020

Latest version

0.8.1

Sep 2026

Contributors

–

3 active in 90 days

Releases

2

last 12 months

Language

Scala

Metarank is an open-source ranking service written in Scala. It sits behind your existing search or product listing and reranks results using visitor signals such as clicks and purchases. You can use it for learning-to-rank on top of Elasticsearch or OpenSearch, for semantic search with language models, and for recommendations such as trending and similar items.

It runs as a stateless service with state kept in Redis, so you can scale it horizontally, including on Kubernetes. Reranking is built for low latency, and large result sets are handled within 10-20 ms. It computes common ranking signals out of the box, including CTR, referer, User-Agent and time. Personalization uses LambdaMART reranking. It also retrains models automatically and can serve several models for A/B tests.

Metarank is an alternative to AWS Personalize if you want to run ranking yourself and avoid AWS lock-in. There is no managed training or hosting, and no console for recipes and campaigns. You set up Redis and event ingestion on your own. It is licensed under Apache-2.0.

Who it's for

Search engineers running Elasticsearch or OpenSearch

It adds learning-to-rank and semantic reranking on top of the search stack you already run.

Skip if: You do not have click or purchase events to feed it.

E-commerce teams building a "you may also like" widget

It offers trending and similar-item recommendations with collaborative filtering.

Skip if: You want a managed service with a console and no infrastructure to operate.

Teams leaving AWS Personalize

It gives you real-time ranking and recommendations you host yourself.

Skip if: You need managed training and hosting.

The problem it solves

Search and recommendation results often ignore what visitors actually click or buy. Building ranking models and the feature code around them takes a lot of engineering time. Metarank turns visitor signals into reranked results through an API you host.

Strengths

  • Reranks large result sets within 10-20 ms
  • Stateless service with Redis state, scales horizontally on Kubernetes
  • Computes common ranking signals such as CTR, referer and User-Agent
  • Supports A/B testing by serving multiple models
  • Apache-2.0 license

Trade-offs

  • Needs Redis and event ingestion set up by you
  • No managed training or hosting service
  • No built-in console for recipes and campaigns
  • Semantic search documentation in the project is still unfinished

Metarank replaces

Self-host Metarank

Self-hostable
Yes

In the community

Frequently asked questions

Is Metarank free?

Yes. It is open source under the Apache-2.0 license.

Can I self-host it?

Yes. It runs as a standalone service with Redis for state, and you can deploy it on Kubernetes.

Which search engines does it work with?

Its guides cover Elasticsearch and OpenSearch for learning-to-rank and semantic search.

What does it replace?

It is a self-hosted alternative to AWS Personalize, without the managed hosting.

Similar tools in ML platforms and MLOps

Agenta

ML platforms and MLOps

4.9k 731 yesterday Thriving MIT

argilla

ML platforms and MLOps

5.2k 516 16 months ago Dormant Apache-2.0

h2o-llmstudio

ML platforms and MLOps

5.2k 556 4 days ago Thriving Apache-2.0

Latitude

ML platforms and MLOps

4.8k 406 today Thriving MIT

dstack

ML platforms and MLOps

2.3k 279 today Thriving MPL-2.0

pezzo

ML platforms and MLOps

3.3k 278 15 days ago Slowing Apache-2.0