Class VertexDefinition
java.lang.Object
co.elastic.clients.elasticsearch.graph.VertexDefinition
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<VertexDefinition>
Json deserializer forVertexDefinition
-
Method Summary
Modifier and TypeMethodDescriptionexclude()
Prevents the specified terms from being included in the results.final String
field()
Required - Identifies a field in the documents of interest.final List<VertexInclude>
include()
Identifies the terms of interest that form the starting points from which you want to spider out.final Long
Specifies how many documents must contain a pair of terms before it is considered to be a useful connection.static VertexDefinition
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final Long
Controls how many documents on a particular shard have to contain a pair of terms before the connection is returned for global consideration.final Integer
size()
Specifies the maximum number of vertex terms returned for each field.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forVertexDefinition
-
-
Method Details
-
of
public static VertexDefinition of(Function<VertexDefinition.Builder, ObjectBuilder<VertexDefinition>> fn) -
exclude
Prevents the specified terms from being included in the results.API name:
exclude
-
field
Required - Identifies a field in the documents of interest.API name:
field
-
include
Identifies the terms of interest that form the starting points from which you want to spider out.API name:
include
-
minDocCount
Specifies how many documents must contain a pair of terms before it is considered to be a useful connection. This setting acts as a certainty threshold.API name:
min_doc_count
-
shardMinDocCount
Controls how many documents on a particular shard have to contain a pair of terms before the connection is returned for global consideration.API name:
shard_min_doc_count
-
size
Specifies the maximum number of vertex terms returned for each field.API name:
size
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupVertexDefinitionDeserializer
protected static void setupVertexDefinitionDeserializer(ObjectDeserializer<VertexDefinition.Builder> op)
-