The inverted index are from the same barrels, but it is built by the sorter. For every lexicon, there is a pointer pointed into barrel that the wordID falls into and the wordID points to a list of docID, and finally to a list of hit lists.
| Lexicon | --> | wordID | --> | docID | --> | hit list |
With this inverted index, Google can locate the document from the lexicon submitted by the searching query.
The breakdown of your page - Hit lists
How does the Ranking System work?