Skip to content

indexing.additional-metamap-source.* (collection.cfg)

Description

This setting controls where additional metadata mappings for a collection are defined. Mappings in the listed files will be combined with the collection's own metadata mappings to produce the final list of mappings to be used.

The format allows for setting several sources to be defined, each with a key name (allowing collections to override the defaults).

indexing.additional-metamap-source.(key_name)=(file_path)

The format of the given file is expected to be either identical to the format described for metamap.cfg or to be identical to the format returned within the data section of JSON in the response of the API:

GET https://<server:port>/admin-api/metadata-mapping/v1/collections/<collection>

When metadata mappings are combined external metadata mappings may add to but not override any metadata mapping or source already defined for a collection. For example

  • if the collection already defines metadata class price as NUMERIC then an external additional metadata file will not be able to override its type.
  • if the collection already defines a source e.g. /root/price for XML, the external additional metadata file will not be able to change which class that source is mapped to.

Default values

indexing.additional-metamap-source.content-auditor=$SEARCH_HOME/conf/metamap.cfg.content-auditor

This default setting provides a set of custom metadata mappings to reserved classes for the use of content auditor.

Examples

The following adds metadata mapping from a customer's central meta collection to the component collection in question.

indexing.additional-metamap-source.customer-shared=$SEARCH_HOME/conf/meta_collection_name/metamap.cfg

See also

top

Funnelback logo
v15.14.0