Package org.elasticsearch.client.graph
Class Connection
java.lang.Object
org.elasticsearch.client.graph.Connection
A Connection links exactly two
Vertex
objects. The basis of a
connection is one or more documents have been found that contain
this pair of terms and the strength of the connection is recorded
as a weight.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
An identifier (implements hashcode and equals) that represents a unique key for aConnection
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Connection
-
-
Method Details
-
getId
-
getFrom
-
getTo
-
getWeight
public double getWeight()- Returns:
- a measure of the relative connectedness between a pair of
Vertex
objects
-
getDocCount
public long getDocCount()- Returns:
- the number of documents in the sampled set that contained this
pair of
Vertex
objects.
-
equals
-
hashCode
public int hashCode()
-