A method, system and computer program product implementing the method are
provided to process a text search query in a collection of documents. A
full posting index is generated for the documents in the collection. The
full posting index comprises one or more first index terms and a full
posting list for each first index term, enumerating the occurrences of
the first index term in the documents. In addition to the full posting
index, at least one additional posting index is generated for the
documents. The additional posting index is related to a defined document
part and comprises one or more second index terms and a restricted
posting list for each second index term, enumerating all occurrences of
the second index term in the document part of the documents of the
collection. The text search query is performed using the additional
posting index.