How to Create Relationship between document in graph

graph

(Krishna Raj) #1

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


(Mark Harwood) #2

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: https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html


(system) #3

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