CharFilter Class
- java.
lang. Object - com.
azure. search. documents. indexes. models. CharFilter
- com.
Implements
public abstract class CharFilter
implements JsonSerializable<CharFilter>
Base type for character filters.
Constructor Summary
Constructor | Description |
---|---|
CharFilter(String name) |
Creates an instance of Char |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Char |
fromJson(JsonReader jsonReader)
Reads an instance of Char |
String |
getName()
Get the name property: The name of the char filter. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
CharFilter
public CharFilter(String name)
Creates an instance of CharFilter class.
Parameters:
Method Details
fromJson
public static CharFilter fromJson(JsonReader jsonReader)
Reads an instance of CharFilter from the JsonReader.
Parameters:
Returns:
Throws:
getName
public String getName()
Get the name property: The name of the char filter. 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:
toJson
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for