The procedure of inserting file markers, field tags, and/or hypertext links in the text. Mark-up can be based on a standard markup language, such as the Automated Composition System of the Government Printing Office or the Standard Generalized Markup Language (SGML). A useful markup language can also be unique to one organization or even to one file. The particular file marker and field tags used with a file are declared when in setting up a text indexer. Hypertext links do not have to be declared, because they are automatically indexed as searchable terms.