How to Create Relationship between document in graph

Hi sir,
Im trying to create documents in kibana plugin but i need to know how to create a relation in graph for document

A relationship is a connection between two terms formed by one or more documents containing that term.
The terms could be from different single-value fields (e.g. clickedProduct and searchTerm) or from a field which is an array of terms (e.g. products).

The use_significance option will prioritise significant relationships (e.g. highlighting that pasta and tomato sauce are highly correlated products in purchase histories) but if turned off then relationships are ranked according to a simple popularity measure which may provide true but less meaningful links (eg many people who buy pasta also buy toilet roll).

The docs provide more detail: Graph explore API | Elasticsearch Guide [8.11] | Elastic

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.