Connect each document with a cluster.