# Search

In this series of guides we will go through typical cases of using Metarank to improve the relevance of your search engine.

There are two main approaches to search reranking:

* **Zero-shot**: using generic approaches not fine-tuned on your dataset and visitor behavior. This does not require any telemetry collection and is a good starting point.
* **Learn-to-Rank**: adapt ranking to the dataset and visitor behavior. Can yield better quality, with the drawback of requiring proper visitor analytics.

## Zero-shot re-ranking

If you're not familiar with concepts of re-ranking and Metarank, start with these intro guides to get better understanding about how things work:

* [Search re-ranking with cross-encoder LLMs](/guides/index/cross-encoders.md): How to use a general-purpose cross-encoder, pre-trained on MS-MARCO dataset to improve your Elasticsearch search relevance.
* TODO: Semantic search with sentence-transformers and Qdrant: setting up Metarank as an inference server for bi-encoders for semantic retrieval with vector search.

## Learn-to-Rank

* TODO: Setting up data collection
  * TODO: explicit and implicit relevance labels
* TODO: Configuring ranking factors
  * TODO: Automatic config generation based on your existing data
  * TODO: Personalization and tracking visitor profile


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.metarank.ai/guides/index.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
