I'm trying to figure out how I can perform the following case study:
I have the Movielens databaset where I have an entry for each rating and in the same way I'm storing data into the elasticsearch. I have a document for each "event" of rating with the details about the user, the movie, the rate, and the time. I would like to create a graph between movies based on the number of co-occcurrence , I mean counting how many users see both of them.
It seems that in order to create a graph I need to create a single or multivalued field on a user document with the list of movies seen.
Thanks in advance,