4.4 Mappings

Mappings in p-search serve the purpose of modifying documents created by candidate generators. Mappings can be used in a number of situations:

The more specialized you want to create your search engine, the more likely you will need to use mappings. If you are using p-search as a more intelligent grep however, you will likely not need mappings.

It is also likely that a pre-existing mapping will not suit your needs and would will have to create a new one. This is explained a later chapter (see Creating Mappings).