The method may further involve (106) b) forming the query-independent indices (206) so that they are configured to be used in the searching method (116) by first receiving, for a word or tag in the document, a position in the document, and by then indicating whether or not the word or tag is present at that position.