Say I have a group of nodes called "books" from some match statement like "MATCH(books:Book{year:2019})." I want to create a relationship between every pair of nodes in this group. So say "books" consists of book1, book2, and book3. I want to create these relationships:
as @SamChalvet said "I'm not sure that is recommended", I would like to add: it is rarely usable and make no sense.
It just slow down any performance without any advantages. And doubled both directed relationship is to avoid anyway.
The "least bad solution" is to create a top-node with label "Book_Label" and link all the book node to it with a "is_a" relationship. But it doesn't help a lot.
You will already have an ordered list of all books with the query