Class Vertex

java.lang.Object
org.elasticsearch.client.graph.Vertex
All Implemented Interfaces:
ToXContent, ToXContentFragment

public class Vertex
extends java.lang.Object
implements ToXContentFragment
A vertex in a graph response represents a single term (a field and value pair) which appears in one or more documents found as part of the graph exploration. A vertex term could be a bank account number, an email address, a hashtag or any other term that appears in documents and is interesting to represent in a network.
  • Constructor Details

    • Vertex

      public Vertex​(java.lang.String field, java.lang.String term, double weight, int depth, long bg, long fg)
  • Method Details