Search and Retrieval Fundamentals

  1. A Document and a Query in Text Search

    A document supplies indexed text or fields. A query expresses a reader's request under the search service's matching rules.

    Undergraduate
  2. Tokenizing a Phrase for Search

    A tokenizer divides text into units used by an index or query. Punctuation, case, and language affect the chosen units.

    Undergraduate
  3. Normalizing Search Terms

    A search index can use canonical term representations while preserving the original text for readers.

    Undergraduate
  4. An Inverted Index by Hand

    An inverted index maps each term to documents where it appears, enabling lookup by term rather than checking every document directly.

    Undergraduate
  5. AND Queries by Intersecting Postings

    In a simple Boolean model, AND keeps documents appearing in every requested term's postings.

    Undergraduate
  6. OR Queries by Combining Postings

    An OR query can match documents containing either term. A document matching both still represents one result under the usual membership model.

    Undergraduate
  7. Phrase Matching with Term Positions

    A phrase query normally needs terms in the required relative positions, not merely each term somewhere in the document.

    Undergraduate
  8. Exact Titles, Prefixes, and Broader Matches

    A search may prefer an exact title match, then a title beginning with the query, then broader textual matches under a declared ranking policy.

    Undergraduate
  9. Weighting a Title Match and a Body Match

    Search scoring can give fields different influence when they provide different evidence of relevance.

    Undergraduate
  10. Term Frequency and Document Frequency

    Term frequency counts occurrences in one document. Document frequency counts documents where the term occurs at least once.

    Undergraduate
  11. Why Rare Terms Can Carry More Retrieval Evidence

    An inverse document frequency factor can give less influence to terms occurring in many documents and more to selective ones.

    Undergraduate
  12. Accounting for Document Length in Retrieval

    Long documents can offer more opportunities for a term to appear. A scoring scheme can account for length while preserving meaningful term evidence.

    Undergraduate
  13. A Trie for Prefix Completions

    A trie can store query completions by common prefixes, allowing navigation to one prefix and enumeration of its matching descendants.

    Undergraduate
  14. Showing a Snippet Around a Search Hit

    A snippet can give nearby readable context for a match while keeping the full document available through its detail link.

    Undergraduate
  15. A Small Edit Distance Example

    Edit distance measures the fewest allowed editing operations to transform one text into another under specified costs.

    Undergraduate
  16. Expanding a Query with Related Terms

    A system can add known related terms to retrieve documents written with different vocabulary. The expansion rule affects both coverage and ranking.

    Undergraduate
  17. Tie Rules in Ranked Retrieval

    A ranking score may place several results at the same value. A secondary order keeps the ranking stable for users and evaluation.

    Undergraduate
  18. Precision at a Search Cutoff

    Precision at a cutoff measures the fraction of returned positions judged relevant among the first specified number under its convention.

    Undergraduate
  19. Recall of Relevant Search Documents

    Recall measures which fraction of known relevant documents a retrieval result includes.

    Undergraduate
  20. Reciprocal Rank of the First Relevant Result

    Reciprocal rank takes the inverse rank of the first relevant result, giving more weight to finding a useful result near the top.

    Undergraduate
  21. Evaluating Search on Several Kinds of Queries

    A search evaluation should include queries reflecting distinct reader goals, with expected results or relevance judgments for each.

    Undergraduate
  22. An Empty Query and a Query with No Matches

    A search interface can display browse options for an empty query and a useful no-results state for a supplied query with no matching documents.

    Undergraduate
  23. Updating a Search Index After a Document Edit

    A search index may lag committed document changes. A version-aware update can preserve the intended relationship between indexed fields and the visible page.

    Undergraduate
  24. Planning the Visibility Boundary of a Public Search Index

    An index can expose snippets, titles, and existence information. Build it from records eligible for the search audience.

    Undergraduate
  25. Language Choices in Search Results

    Search can select or prefer an edition according to the reader's language and the service's available translations.

    Undergraduate
  26. Comparing Search Vectors by Similarity

    A search system can represent documents and queries as vectors and rank by a specified similarity. The choice of vector and score determines which relationships it sees.

    Undergraduate
  27. Using Term and Vector Evidence Together

    Search may combine exact terms, phrase evidence, and vector similarity. The combination needs a scale and a clear objective.

    Undergraduate
  28. Reading Search Result Counts

    A search result count can describe all known matches, matches across available sources, or only those returned in the current response.

    Undergraduate
  29. Testing Search with Ordinary Spelling Variants

    A retrieval test can distinguish casing, punctuation, spacing variations, and true word changes under the intended normalization.

    Undergraduate
  30. Editorial Links as an Adjacent Discovery Path

    A relevant link in explanatory text can help readers move from a term or example to the concept it depends on.

    Undergraduate