February 2018
Intermediate to advanced
246 pages
6h 3m
English
Based on the preceding example, we can state the following:
We can achieve these two niceties by using an inverted index. A standard index's mapping order is book → word → occurrence (page, line, and so on) as seen in the previous example. If we use an inverted index, the mapping order becomes word → book → occurrence (page, line, and so on).
This change might not seem to be of great significance; however, it improves the look up a lot. Let's look at it with another example.
Read now
Unlock full access