SmartFAQs.ai
Back to Learn
Concept

Keyword Search

In RAG architectures, keyword search (sparse retrieval) identifies relevant documents by matching exact tokens or lexemes using algorithms like BM25. It is technically precise for retrieving unique identifiers, jargon, or proper nouns, though it lacks the semantic flexibility of vector-based retrieval.

Definition

In RAG architectures, keyword search (sparse retrieval) identifies relevant documents by matching exact tokens or lexemes using algorithms like BM25. It is technically precise for retrieving unique identifiers, jargon, or proper nouns, though it lacks the semantic flexibility of vector-based retrieval.

Disambiguation

Exact literal matching vs. semantic meaning matching.

Visual Metaphor

"A physical index at the back of a textbook mapping specific keywords to exact page numbers."

Key Tools
ElasticsearchBM25LuceneMeilisearchAzure AI Search
Related Connections

Conceptual Overview

In RAG architectures, keyword search (sparse retrieval) identifies relevant documents by matching exact tokens or lexemes using algorithms like BM25. It is technically precise for retrieving unique identifiers, jargon, or proper nouns, though it lacks the semantic flexibility of vector-based retrieval.

Disambiguation

Exact literal matching vs. semantic meaning matching.

Visual Analog

A physical index at the back of a textbook mapping specific keywords to exact page numbers.

Related Articles