全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Inverted index, posting list?

又称: posting list · inverted index

Definition 30.2 University Computer Science — Year 1 · 第 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.
在原文中阅读 →