倒排索引(Inverted Index)
Index An index (plural: usually indexes , more rarely indices ; see below) is a list of words or phrases ('headings') and associated pointers ('locators') to where useful material relating to that heading can be found in a document or collection of documents. Examples are an index in the back matter of a book and an index that serves as a library catalog . forward & inverted index https://www.cnblogs.com/softidea/p/9852048.html 正排索引(forward index)与倒排索引(inverted index) 正排索引(前向索引) 正排索引也称为"前向索引"。 正向索引 的结构如下: “文档1”的ID > 单词1:出现次数,出现位置列表;单词2:出现次数,出现位置列表;…………。 “文档2”的ID > 此文档出现的关键词列表。 一般是通过key