Share via


SearchIndexingBufferedSenderOptions<T>.KeyFieldAccessor Property

Definition

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)

Property Value

Applies to