共用方式為


SearchOptions.SessionId Property

Definition

A value to be used to create a sticky session, which can help getting more consistent results. As long as the same sessionId is used, a best-effort attempt will be made to target the same replica set. Be wary that reusing the same sessionID values repeatedly can interfere with the load balancing of the requests across replicas and adversely affect the performance of the search service. The value used as sessionId cannot start with a '_' character.

public string SessionId { get; set; }
member this.SessionId : string with get, set
Public Property SessionId As String

Property Value

Applies to