Class StandardAnalyzer
java.lang.Object
co.elastic.clients.elasticsearch._types.analysis.StandardAnalyzer
- All Implemented Interfaces:
AnalyzerVariant,JsonpSerializable
@JsonpDeserializable
public class StandardAnalyzer
extends Object
implements AnalyzerVariant, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<StandardAnalyzer>Json deserializer forStandardAnalyzer -
Method Summary
Modifier and TypeMethodDescriptionAnalyzer variant kind.final IntegerThe maximum token length.static StandardAnalyzerrebuild()voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidA pre-defined stop words list like_english_or an array containing a list of stop words.final StringThe path to a file containing stop words.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch._types.analysis.AnalyzerVariant
_toAnalyzer
-
Field Details
-
_DESERIALIZER
Json deserializer forStandardAnalyzer
-
-
Method Details
-
of
public static StandardAnalyzer of(Function<StandardAnalyzer.Builder, ObjectBuilder<StandardAnalyzer>> fn) -
_analyzerKind
Analyzer variant kind.- Specified by:
_analyzerKindin interfaceAnalyzerVariant
-
maxTokenLength
The maximum token length. If a token is seen that exceeds this length then it is split atmax_token_lengthintervals. Defaults to255.API name:
max_token_length -
stopwords
A pre-defined stop words list like_english_or an array containing a list of stop words. Defaults to_none_.API name:
stopwords -
stopwordsPath
The path to a file containing stop words.API name:
stopwords_path -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
rebuild
- Returns:
- New
StandardAnalyzer.Builderinitialized with field values of this instance
-
setupStandardAnalyzerDeserializer
protected static void setupStandardAnalyzerDeserializer(ObjectDeserializer<StandardAnalyzer.Builder> op)
-