SearchIndexingBufferedSenderOptions<T>.KeyFieldAccessor Property
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.
Gets or sets a function that can be used to access the index key value of a document. Any indexing errors are identified by key and you can use this function to provide that mapping. Otherwise we will look for IsKey or call GetIndex(String, CancellationToken) to help automatically determine the key.
public Func<T,string> KeyFieldAccessor { get; set; }
member this.KeyFieldAccessor : Func<'T, string> with get, set
Public Property KeyFieldAccessor As Func(Of T, String)