The previous sections covered the general querying mechanism. p-search also supports field-based searches. Normally fields are added by a particular mapping to the format you are searching on. A mapping will define the fields it adds. So for example, Denote files specify a particular format in which a title is located. A mapping then could extract the Denote title and add it as a field. The mapping could also specify that this is a very important field and anything matching it should be given extra weight. Creating mappings with fields will be discussed in a different chapter.
Fields, when added, will be searched and weighted accordingly automatically as long as the mapping has added it. If you want to search only a particular field, you can add it as the ‘field’ (i.e. -f) option in the text query prior.