A model for reviews and comments
The following figure gives an example of the information that reviews and comments will contain:
Every review has to be uniquely identified for which we use the _id
property. Value for money, comfort, food, and service are all the parameters that have been discussed earlier. The rating has been given on a scale of 1 to 5, assuming 1 to be lowest and 5 to be the highest. In addition to these, we have created_on
, which is the timestamp of the creation of the review. Similarly, stayed_on
is a timestamp of the day that the reviewer stayed at the hotel. We also capture additional information ...
Get Neo4j Graph Data Modeling now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.