Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FieldMapping

Package version

Defines a mapping between a field in a data source and a target field in an index.

Hierarchy

  • FieldMapping

Index

Properties

Optional mappingFunction

mappingFunction: FieldMappingFunction

A function to apply to each source field value before indexing.

sourceFieldName

sourceFieldName: string

The name of the field in the data source.

Optional targetFieldName

targetFieldName: undefined | string

The name of the target field in the index. Same as the source field name by default.

Generated using TypeDoc