你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Indexer 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Indexer()
Indexer(String, String, String, String, String, IndexingSchedule, IndexingParameters, IList<FieldMapping>, IList<FieldMapping>, Nullable<Boolean>, String)
- Source:
- Indexer.cs
初始化 Indexer 类的新实例。
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)
参数
- name
- String
索引器的名称。
- dataSourceName
- String
此索引器从中读取数据的数据源的名称。
- targetIndexName
- String
此索引器向其写入数据的索引的名称。
- description
- String
索引器的说明。
- skillsetName
- String
使用此索引器执行的技能组的名称。
- schedule
- IndexingSchedule
此索引器的计划。
- parameters
- IndexingParameters
索引器执行的参数。
- fieldMappings
- IList<FieldMapping>
定义数据源中的字段与索引中相应目标字段之间的映射。
- outputFieldMappings
- IList<FieldMapping>
输出字段映射在扩充后和紧接在索引之前应用。
- eTag
- String
索引器的 ETag。