Skip to content
All topics

Domain

Advanced retrieval systems

Hybrid search, re-ranking, query rewriting, multi-hop and graph-based retrieval.

0 of 11 articles published. Topics are listed in reading order: each comes after the topics it builds on.

Combining keyword and vector search so each covers the other's blind spots.

  1. Keyword search and BM25 for AI engineersComing soon

    How term-based ranking works, and why exact names, codes and rare words still need it next to embeddings.

    Fundamentals · Intermediate

  2. Hybrid keyword and vector searchComing soon

    Running both searches and merging results, and the queries where hybrid clearly beats either alone.

    Architecture · Advanced

  3. Merging result lists with reciprocal rank fusionComing soon

    Why raw scores from different searches can't be compared, and how rank-based fusion combines them.

    Implementation · Advanced

Re-ranking

A second, more precise pass over the top candidates.

  1. Re-ranking with cross-encodersComing soon

    Scoring query and passage together to reorder the top results, and how many candidates to re-rank.

    Implementation · Advanced

  2. Re-ranking latency and cost trade-offsComing soon

    Measuring what re-ranking adds to quality against the time and money it costs per query.

    Performance · Production

Query transformation

Rewriting what the user asked into what the index can answer.

  1. Query rewriting and expansionComing soon

    Using a model to clarify, expand or split a query before retrieval, and testing that it helps.

    Implementation · Advanced

  2. Searching with hypothetical answers (HyDE)Coming soon

    Embedding a drafted answer instead of the question, and the cases where this helps or misleads.

    Advanced engineering · Production

  3. Retrieval for follow-up questions in a conversationComing soon

    Turning 'what about the second one?' into a standalone query using conversation history.

    Implementation · Advanced

Multi-step and structured retrieval

Questions that one search can't answer.

  1. Multi-hop retrievalComing soon

    Answering questions that need facts from several documents by retrieving, reading and retrieving again.

    Advanced engineering · Production

  2. Graph-based retrieval (GraphRAG)Coming soon

    Extracting entities and relations into a graph to answer questions about connections and whole collections, and its build cost.

    Architecture · Principal / Architect

  3. Agentic retrievalComing soon

    Letting a model choose which index or tool to search and when to stop, with limits on steps and cost.

    Advanced engineering · Production