I think I got your point.

So, what I will create are three cores (or collections) - one for the users,
one for the stories and the last one for comments. 
When I need to find all the stories posted by a single user, I first need to
search the stories core with a unique userid in the filter and then run
another query to fetch the collection of comments. Correct?

Also, I have no such requirement to search through the comments and its
mostly a storage filed for me. So, do you think I should shift that into a
DB from where I may query the comments? Or will it be too costly for Solr to
just plain store that data in a core? Which would be the best option here?

Also, the idea of custom search component sounds great. But as you said, I
will first try this out with a simple possible setup and then go from there.





--
View this message in context: 
http://lucene.472066.n3.nabble.com/Best-way-to-design-a-story-and-comments-schema-tp4062867p4062929.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to