Could you help me to model architecture of storing posts and comments in ElasticSearch?
Currenlty i have simple data structure - I store in ES "posts" as documents in ES index. I do search on that index to find posts with particular words. Posts are not related to anything. Every post has unique url and that's it. Simple. I want to add possibility to store comments to post."Comments" will be special version of "posts" - comment has parent(other post) and comments have particular order between other comments of their parent. I wonder how should i model relationship between posts/comments and which ES data structure should i use. I don't know anything about documents relationship in Elasticsearch, so any help will be great. -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/e262e145-3b1f-45f0-a374-a6b2dd8ad189%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
