Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Inverted index, posting list » ?

Aussi appelé : posting list · inverted index

Definition 30.2 University Computer Science — Year 1 · Chapitre 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.
Lire dans le chapitre →