AlgoViz

Inverted indexes and postings

medium 4 min

An inverted index maps a term to ordered document identifiers.

Remember it

The few things worth knowing cold, and how to make them stick.

Memory hook

An inverted index maps a term to ordered document identifiers. Optional positions and frequencies support phrase matching and scoring. Analysis must make indexing and querying compatible.