SearchModelFactory.ContentColumnMapping(String, String, String) Method
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.
Maps a SQL column to a search index field.
public static Azure.Search.Documents.Indexes.Models.ContentColumnMapping ContentColumnMapping(string name = default, string sourceField = default, string searchFieldType = default);
static member ContentColumnMapping : string * string * string -> Azure.Search.Documents.Indexes.Models.ContentColumnMapping
Public Shared Function ContentColumnMapping (Optional name As String = Nothing, Optional sourceField As String = Nothing, Optional searchFieldType As String = Nothing) As ContentColumnMapping
Parameters
- name
- String
Target index field name.
- sourceField
- String
SQL column name.
- searchFieldType
- String
Azure AI Search field type (e.g., Edm.String, Edm.Int32).
Returns
A new ContentColumnMapping instance for mocking.