你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
LexicalAnalyzer Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. LexicalAnalyzer
- com.
Implements
public class LexicalAnalyzer
implements JsonSerializable<LexicalAnalyzer>
Base type for analyzers.
Constructor Summary
Constructor | Description |
---|---|
LexicalAnalyzer(String name) |
Creates an instance of Lexical |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Lexical |
fromJson(JsonReader jsonReader)
Reads an instance of Lexical |
String |
getName()
Get the name property: The name of the analyzer. |
String |
getOdataType()
Get the odata |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
LexicalAnalyzer
public LexicalAnalyzer(String name)
Creates an instance of LexicalAnalyzer class.
Parameters:
Method Details
fromJson
public static LexicalAnalyzer fromJson(JsonReader jsonReader)
Reads an instance of LexicalAnalyzer from the JsonReader.
Parameters:
Returns:
Throws:
getName
public String getName()
Get the name property: The name of the analyzer. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters.
Returns:
getOdataType
public String getOdataType()
Get the odataType property: A URI fragment specifying the type of analyzer.
Returns:
toJson
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈