Suppost you have files containing many documents, from which you will
only index thier titles contained between
<TI:> Information Retrieval <:TI> [...] <TI:> Database Systems <:TI>
You format file (.fmt) should look like this:
<field> /<TI:>/ ti TEXT LOCAL <end> /<:TI>/
Now that you have you format file <database>.fmt, call waisindex with option '-t fields'. Because the .fmt file already begins with the index file root name it is used by the FreeWAIS-sf waisindex program. The -t fields option must have a .fmt file present.
Now its time to give a more complicated example: