PTE · Reading · hard
Read the text and answer the multiple-choice question by selecting the correct response. Only one response is correct.
An inverted index supports text search by connecting terms to records of where they occur. In one implementation, documents are processed during ingestion and each indexed term receives a list of document identifiers. Some indexes also retain positions to support more detailed queries. Later searches can consult these lists rather than inspect every document afresh. This shifts part of the work into preparation, although maintaining the index requires storage and updates as the collection changes. Faster retrieval therefore comes with an additional structure to build and maintain, rather than emerging without a computational or storage cost.
An index stores document identifiers for each word but no word positions. A search requires the exact phrase silver fox. What can intersecting the two word lists establish by itself?
- It establishes the exact phrase because both words occur somewhere in each returned document.
- It identifies documents containing either word and therefore proves that all phrase matches have been fully verified.
- It establishes adjacency but leaves word order unknown, because document identifiers retain local spacing without positions.
- It identifies documents containing both words, but additional evidence is needed to establish their adjacency and order.