共用方式為


SearchableFieldAttribute.SearchAnalyzerName Property

Definition

Gets or sets the name of the language analyzer for searching. This property must be set together with IndexAnalyzerName, and cannot be set when AnalyzerName is set. This property cannot be set to the name of a language analyzer; use the AnalyzerName property instead if you need a language analyzer. Once the analyzer is chosen, it cannot be changed for the field in the index.

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

Property Value

String values from LexicalAnalyzerName, or the name of a custom analyzer previously uploaded.

Applies to