All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Inverted index, posting list?

Also known as: posting list · inverted index

Definition 30.2 University Computer Science — Year 1 · Chapter 30 — Project: A Search Engine for a Folder of Texts

Let a collection of documents be numbered 0,1,…,N−10, 1, \dots, N - 1. The posting list of a word is the list of the documents that contain it, in increasing order, each with the number of times the word occurs in it; each element is a posting. An inverted index of the collection is a dictionary that maps each word occurring in it to its posting list.

Part of the inverted index of three small documents (those of ). The array of buckets holds pointers to chains of entries; cat and hat share a bucket (the bucket numbers are made up). Each entry owns its word and its posting list, a dynamic array of (document, count) pairs.
Part of the inverted index of three small documents (those of Exercise 30.2). The array of buckets holds pointers to chains of entries; cat and hat share a bucket (the bucket numbers are made up). Each entry owns its word and its posting list, a dynamic array of (document, count) pairs.
Read in context →