SearchModelFactory.FieldMappingFunction 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.
Represents a function that transforms a value from a data source before indexing.
public static Azure.Search.Documents.Indexes.Models.FieldMappingFunction FieldMappingFunction(string name = default, System.Collections.Generic.IDictionary<string,object> parameters = default);
static member FieldMappingFunction : string * System.Collections.Generic.IDictionary<string, obj> -> Azure.Search.Documents.Indexes.Models.FieldMappingFunction
Public Shared Function FieldMappingFunction (Optional name As String = Nothing, Optional parameters As IDictionary(Of String, Object) = Nothing) As FieldMappingFunction
Parameters
- name
- String
The name of the field mapping function.
- parameters
- IDictionary<String,Object>
A dictionary of parameter name/value pairs to pass to the function. Each value must be of a primitive type.
Returns
A new FieldMappingFunction instance for mocking.