Search Glossary
Every term the odyssey uses, in plain language. Search the glossary with the same client-side search spirit as the course.
52 terms
Inverted index
TextA map from each token to the documents and positions where it appears, so a query can look up terms instead of scanning the corpus.
Tokenization
TextSplitting text into indexable units such as words, numbers, or symbols.
Stemming
TextA fast, rule-based reduction of words to a shared root, such as running to run.
Lemmatization
TextReducing a word to its dictionary form using linguistic knowledge, so better and good can align.
Stop word
TextA very common word such as the or and that is sometimes removed from the index.
Postings list
TextThe list of documents, and often positions, associated with one term in an inverted index.
Positional index
TextAn index that records token positions, enabling phrase and proximity queries.
Boolean retrieval
HistoryA search model that combines exact term matches with AND, OR, and NOT.
PageRank
HistoryA link-analysis algorithm that treats links as votes to estimate the importance of a web page.
TF-IDF
RankingA ranking score that rewards frequent query terms in a document while discounting terms that are common across the corpus.
BM25
RankingA family of ranking functions using term frequency, inverse document frequency, saturation, and document length normalization.
IDF
RankingInverse document frequency: a weight that gives rarer terms more discriminating power.
k1
RankingThe BM25 parameter controlling how quickly repeated term occurrences stop adding value.
b
RankingThe BM25 parameter controlling how strongly document length is normalized.
Field boost
RankingExtra weight given to a match in a specific field, such as title or category.
Edit distance
FuzzyThe minimum number of insertions, deletions, and substitutions needed to transform one string into another.
Levenshtein distance
FuzzyThe standard edit distance allowing insertion, deletion, and substitution.
Damerau-Levenshtein
FuzzyLevenshtein distance extended with transpositions of adjacent characters.
N-gram
FuzzyA contiguous sequence of n characters or tokens, often used to shortlist fuzzy matches.
Phonetic algorithm
FuzzyAn algorithm such as Soundex or Metaphone that encodes how a word sounds to catch spelling variants.
Trie
AutocompleteA tree keyed by characters where shared prefixes share a path, making prefix traversal efficient.
Radix tree
AutocompleteA compressed trie that collapses single-child paths to save memory.
FST
AutocompleteFinite-state transducer: a compact automaton that maps inputs to outputs, often used for dictionary and suggestion lookup.
Haversine distance
GeoGreat-circle distance between two latitude/longitude points, accounting for the Earth’s curvature.
Geohash
GeoA string encoding of a geographic cell; longer prefixes identify smaller areas.
R-tree
GeoA spatial index tree built over bounding rectangles, common in databases and GIS systems.
Distance decay
GeoA ranking adjustment that smoothly reduces relevance as distance from the user increases.
Embedding
VectorA learned numeric vector representing the meaning of text, images, or other inputs.
Cosine similarity
VectorA similarity measure based on the angle between vectors, ignoring their magnitude.
Dot product
VectorA vector similarity measure that includes both direction and magnitude.
ANN
VectorApproximate nearest neighbor search: finding likely close vectors without comparing against every vector.
HNSW
VectorHierarchical Navigable Small World: a layered graph index for fast approximate vector search.
IVF
VectorInverted file index: clustering vectors and probing only selected clusters at query time.
Product quantization
VectorA compression technique that splits vectors into subspaces and stores compact codes.
efSearch
VectorAn HNSW query-time parameter controlling how many candidates are explored.
Hybrid search
HybridCombining keyword and vector retrieval, often followed by fusion and reranking.
Reciprocal Rank Fusion
HybridA rank-based fusion method that combines result lists using 1/(k + rank).
Reranker
HybridA second-stage model that reorders a small candidate set using a richer relevance signal.
Cross-encoder
HybridA model that scores a query and document together, usually too expensive to run over the full corpus.
SPLADE
HybridA learned sparse retrieval model that produces expanded term weights for lexical search.
Precision
EvaluationThe fraction of returned results that are relevant.
Recall
EvaluationThe fraction of all relevant results that were returned.
MRR
EvaluationMean Reciprocal Rank: the average of 1 divided by the rank of the first relevant result.
nDCG
EvaluationNormalized Discounted Cumulative Gain: a graded relevance metric that discounts results lower in the ranking.
MAP
EvaluationMean Average Precision: the average of precision at each relevant result across queries.
Golden set
EvaluationA curated set of queries with human relevance judgments used to compare search systems.
RAG
RAGRetrieval-Augmented Generation: retrieving evidence and grounding a language model’s answer in it.
Chunking
RAGSplitting documents into retrievable passages, trading context against precision.
Grounding
RAGTying generated claims to retrieved evidence, often through citations.
Hallucination
RAGA fluent but unsupported or false model output.
Faithfulness
RAGThe degree to which a generated answer is supported by the retrieved context.
Lost in the middle
RAGThe tendency of long-context models to miss evidence placed in the middle of the context window.