diff --git a/docs/web/search/hybrid-search.mdx b/docs/web/search/hybrid-search.mdx index 1a0210b5b..b617346fe 100644 --- a/docs/web/search/hybrid-search.mdx +++ b/docs/web/search/hybrid-search.mdx @@ -67,6 +67,7 @@ Run the steps for your chosen language in order, choosing one connection option. ```python Python icon="python" +import lancedb from lancedb.index import FTS from lancedb.rerankers import RRFReranker from lancedb.embeddings import get_registry @@ -202,6 +203,7 @@ await table.waitForIndex(["text_idx"], 300); ### 7\. Set Reranker [Optional] {#7-set-reranker-optional} RRF is the default. The examples below configure it explicitly. Other rerankers and their language support are described in [Reranking](/reranking). +If you skip this step, omit the `.rerank(reranker)` call in the next step. ```python Python icon="python"