> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lancedb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Multi-vector search with XTR

> Represent a document with many vectors, and speed retrieval with ConteXtualized Token Retrieval.

Covers [multi-vector search](https://docs.lancedb.com/search/vector-search.md) enhanced by XTR
(ConteXtualized Token Retriever): representing complex data with several vectors
for more nuanced meaning, and using XTR to speed retrieval by prioritizing the
most important tokens.

For a comparison of retrieval strategies on a token-level benchmark, see
[Needle in a haystack](https://docs.lancedb.com/tutorials/search/multivector-needle-in-a-haystack.md).

> [!NOTE]
>
> This example is a runnable notebook in the
> [vectordb-recipes](https://github.com/lancedb/vectordb-recipes) repository rather than a page here.

> [card] [Open in Colab](https://colab.research.google.com/github/lancedb/vectordb-recipes/blob/main/examples/multivector_xtr/main.ipynb)
>
> Run it end to end in the browser.

> [card] [View on GitHub](https://github.com/lancedb/vectordb-recipes/tree/main/examples/multivector_xtr)
>
> Read the source.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.