This is something I have been thinking for a long time now.

What is the best practice for setting up the Schemas for documents having
different fields?

Should we just create one schema with lot of fields or multiple schemas for
different data structures?

Here is an example: I have two objects students and courses:

Student:

   - Student Name
   - Student Registration number
   - Course Enrolled for

Course:

   - Course ID
   - Course Name
   - Course duration

What should the ideal schema setup should look like?

Any guidance would is strongly appreciated.



*Vishal Sharma** Team Lead,                   Grazitti Interactive*T: +1
650­ 641 1754
E: vish...@grazitti.com
www.grazitti.com [image: Description: LinkedIn]
<http://www.linkedin.com/company/grazitti-interactive>[image: Description:
Twitter] <https://twitter.com/grazitti>[image: fbook]
<https://www.facebook.com/grazitti.interactive>

Reply via email to