Static Inverted Indices




CS267

Chris Pollett

Oct 16, 2023

Outline

Inverted Index Intro

The Dictionary

Dictionary Types

Storing Dictionary Terms

Dictionary As a String Example

Sort-based versus Hash-based dictionaries

Posting Lists

Random Accesses of Posting Lists

Prefix Queries

Quiz

Which of the following is true?

    1. Segmentation could be useful in separating the web-site keywords from a url.
    2. ASCII characters in UTF-8 sometimes take three bytes to store.
    3. Class autoloading in PHP is done based on the path given by a package command.

Interleaving Dictionary and Posting Lists

An example of the dictionary interleaving strategy

Dropping the distinction between terms and postings