Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Inverted index, posting list?

Ook bekend als: posting list · inverted index

Definition 30.2 University Computer Science — Year 1 · Hoofdstuk 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.
Lees in het hoofdstuk →