Hi This is a sample schema, but it can be more nested as I build the app. As more students enroll, or more classes are added, it will grow.
....
colleges
[
"college":
{
"id" : "college Id"
"classes":
[
{
"id": "0001",
"type": "speech",
"name": "Speech Class",
"credits": 3,
"students":
{
{ "id": "1001", "name": "ABC",.... },
{ "id": "1002", "name": "PQQ",... },
{ "id": "1003", "name": "AAA",... },
{ "id": "1004", "name": "ASA",... }
},
"instructors":
[
{ "id": "5001",
"name": "ASAS" },
{ "id": "5002",
"name": "ASAA" },
]
},
]
"locations":
[
{ "id": "6001", "address": "Address-1"
},
{ "id": "6001", "address": "Address-2"
},
]
}
]
--
View this message in context:
http://lucene.472066.n3.nabble.com/MongoDB-and-Solr-tp3986637p3986676.html
Sent from the Solr - User mailing list archive at Nabble.com.
