Class Filter
java.lang.Object
org.opensearch.client.opensearch.core.termvectors.Filter
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<Filter.Builder,Filter>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class Filter
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<Filter.Builder,Filter>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Filter> Json deserializer forFilter -
Method Summary
Modifier and TypeMethodDescriptionstatic Filter.Builderbuilder()booleaninthashCode()final IntegerIgnores words that appear in more than the specified number of documents.final IntegerThe maximum number of terms that should be returned per field.final IntegerIgnore words with more than this frequency in the source doc.final IntegerThe maximum word length.final IntegerIgnore terms which do not occur in at least this many docs.final IntegerIgnore words with less than this frequency in the source doc.final IntegerThe minimum word length.static Filtervoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forFilter
-
-
Method Details
-
of
-
maxDocFreq
Ignores words that appear in more than the specified number of documents. Default isunbounded.API name:
max_doc_freq -
maxNumTerms
The maximum number of terms that should be returned per field.API name:
max_num_terms -
maxTermFreq
Ignore words with more than this frequency in the source doc. Default isunbounded.API name:
max_term_freq -
maxWordLength
The maximum word length. Words longer than this value will be ignored. Default isunbounded.API name:
max_word_length -
minDocFreq
Ignore terms which do not occur in at least this many docs.API name:
min_doc_freq -
minTermFreq
Ignore words with less than this frequency in the source doc.API name:
min_term_freq -
minWordLength
The minimum word length. Words shorter than this value will be ignored. Default is 0.API name:
min_word_length -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Filter.Builder,Filter> - Returns:
- a new builder instance.
-
builder
-
setupFilterDeserializer
-
hashCode
public int hashCode() -
equals
-