FieldMapping interface
Defines a mapping between a field in a data source and a target field in an index.
Properties
mapping |
A function to apply to each source field value before indexing. |
source |
The name of the field in the data source. |
target |
The name of the target field in the index. Same as the source field name by default. |
Property Details
mappingFunction
A function to apply to each source field value before indexing.
mappingFunction?: FieldMappingFunction
Property Value
sourceFieldName
The name of the field in the data source.
sourceFieldName: string
Property Value
string
targetFieldName
The name of the target field in the index. Same as the source field name by default.
targetFieldName?: string
Property Value
string