Configuring parsers to query metadata fields

The settings of query parsers are loaded through the config file as specified in the queryParsers.filename parameter in the Query Manager configuration file.

This enables the Sybase Search administrator to configure parsers for querying metadata fields. In some cases, you might want to search metadata fields using formats different from those that were indexed. For instance, a date metadata field might be indexed in the YYYY-MM-DD format yet searched on using a DD/MM/YYYY format. Table 4-24 shows the metadata field tag attributes.

Table 4-24: Metadata field tag attributes

Attribute

Default value

Description

name

None

The internal name of the metadata field to which this setting applies.

parser

None

The identifier of the parser used to parse the query metadata values.

NoteYou can change the query parser configuration at any time; however, changes take effect only after you restart the container hosting the Query Module.