Now what do the index types LOCAL, GLOBAL and BOTH mean?
Note that FreeWAIS-sf generates dictionaries and inverted files for each field. If there were no global or default field for general text search one would always have to specify a field in your queries. To avoid this inconvenience waisindex generates a default field which is used for searching if there is no fields specified. This field is called global, since it usually contains the information of some of the other fields which the administrator assumes to be useful for unexperienced users.
The contents of the index field are defined by using the keywords LOCAL, GLOBAL and BOTH in the field definitions.
Regular expressions are used to find, match, and parse strings encountered in a document. These regular expressions are used within the .fmt file to delimit field entries. For those not familiar with regular expressions, some conventions are provided in the following section: