Megosztás a következőn keresztül:


Indexer Constructors

Definition

Overloads

Indexer()

Initializes a new instance of the Indexer class.

Indexer(String, String, String, String, String, IndexingSchedule, IndexingParameters, IList<FieldMapping>, IList<FieldMapping>, Nullable<Boolean>, String)

Initializes a new instance of the Indexer class.

Indexer()

Source:
Indexer.cs

Initializes a new instance of the Indexer class.

public Indexer ();
Public Sub New ()

Applies to

Indexer(String, String, String, String, String, IndexingSchedule, IndexingParameters, IList<FieldMapping>, IList<FieldMapping>, Nullable<Boolean>, String)

Source:
Indexer.cs

Initializes a new instance of the Indexer class.

public Indexer (string name, string dataSourceName, string targetIndexName, string description = default, string skillsetName = default, Microsoft.Azure.Search.Models.IndexingSchedule schedule = default, Microsoft.Azure.Search.Models.IndexingParameters parameters = default, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.FieldMapping> fieldMappings = default, System.Collections.Generic.IList<Microsoft.Azure.Search.Models.FieldMapping> outputFieldMappings = default, bool? isDisabled = default, string eTag = default);
new Microsoft.Azure.Search.Models.Indexer : string * string * string * string * string * Microsoft.Azure.Search.Models.IndexingSchedule * Microsoft.Azure.Search.Models.IndexingParameters * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.FieldMapping> * System.Collections.Generic.IList<Microsoft.Azure.Search.Models.FieldMapping> * Nullable<bool> * string -> Microsoft.Azure.Search.Models.Indexer
Public Sub New (name As String, dataSourceName As String, targetIndexName As String, Optional description As String = Nothing, Optional skillsetName As String = Nothing, Optional schedule As IndexingSchedule = Nothing, Optional parameters As IndexingParameters = Nothing, Optional fieldMappings As IList(Of FieldMapping) = Nothing, Optional outputFieldMappings As IList(Of FieldMapping) = Nothing, Optional isDisabled As Nullable(Of Boolean) = Nothing, Optional eTag As String = Nothing)

Parameters

name
String

The name of the indexer.

dataSourceName
String

The name of the datasource from which this indexer reads data.

targetIndexName
String

The name of the index to which this indexer writes data.

description
String

The description of the indexer.

skillsetName
String

The name of the skillset executing with this indexer.

schedule
IndexingSchedule

The schedule for this indexer.

parameters
IndexingParameters

Parameters for indexer execution.

fieldMappings
IList<FieldMapping>

Defines mappings between fields in the data source and corresponding target fields in the index.

outputFieldMappings
IList<FieldMapping>

Output field mappings are applied after enrichment and immediately before indexing.

isDisabled
Nullable<Boolean>

A value indicating whether the indexer is disabled. Default is false.

eTag
String

The ETag of the Indexer.

Applies to