Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
FieldMapping interface
- Package:
- @azure/search-documents
Defines a mapping between a field in a data source and a target field in an index.
Properties
| mappingFunction | A function to apply to each source field value before indexing. |
| sourceFieldName | The name of the field in the data source. |
| targetFieldName | 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
