SearchIndexerIndexProjectionSelector Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of SearchIndexerIndexProjectionSelector.
public SearchIndexerIndexProjectionSelector (string targetIndexName, string parentKeyFieldName, string sourceContext, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Indexes.Models.InputFieldMappingEntry> mappings);
new Azure.Search.Documents.Indexes.Models.SearchIndexerIndexProjectionSelector : string * string * string * seq<Azure.Search.Documents.Indexes.Models.InputFieldMappingEntry> -> Azure.Search.Documents.Indexes.Models.SearchIndexerIndexProjectionSelector
Public Sub New (targetIndexName As String, parentKeyFieldName As String, sourceContext As String, mappings As IEnumerable(Of InputFieldMappingEntry))
Parameters
- targetIndexName
- String
Name of the search index to project to. Must have a key field with the 'keyword' analyzer set.
- parentKeyFieldName
- String
Name of the field in the search index to map the parent document's key value to. Must be a string field that is filterable and not the key field.
- sourceContext
- String
Source context for the projections. Represents the cardinality at which the document will be split into multiple sub documents.
- mappings
- IEnumerable<InputFieldMappingEntry>
Mappings for the projection, or which source should be mapped to which field in the target index.
Exceptions
targetIndexName
, parentKeyFieldName
, sourceContext
or mappings
is null.
Applies to
Azure SDK for .NET