FieldMapping Class

Definition

Defines a mapping between a field in a data source and a target field in an index. https://docs.microsoft.com/azure/search/search-indexer-field-mappings

public class FieldMapping
type FieldMapping = class
Public Class FieldMapping
Inheritance
FieldMapping

Constructors

FieldMapping()

Initializes a new instance of the FieldMapping class.

FieldMapping(String, FieldMappingFunction)

Initializes a new instance of the FieldMapping class.

FieldMapping(String, String, FieldMappingFunction)

Initializes a new instance of the FieldMapping class.

Properties

MappingFunction

Gets or sets a function to apply to each source field value before indexing.

SourceFieldName

Gets or sets the name of the field in the data source.

TargetFieldName

Gets or sets the name of the target field in the index. Same as the source field name by default.

Methods

Validate()

Validate the object.

Applies to