Defining metadata fields

The list of metadata fields is loaded through the configuration file as specified in the metadata.filename parameter (Metadata.xml) in the Metadata Manager configuration file. Each metadata field in Metadata.xml is specified by the parameters shown in Table 4-25.

Table 4-25: Metadata field parameters

parameter

Default

Description

name

None

The internal name of the metadata field; one word with no spaces. This name is used in XML queries over HTTP.

displayName

None

The human-readable name for the metadata field.

type

None

The metadata field type—can be one of TEXT, DATE, FLOAT and INT.

parser

None

The parser used to format the metadata field into the format Sybase Search will use. The parser must be defined in the Parsers.xml file.

indexable

false

If set to true, Sybase Search indexes any document data found for this metadata field.