I am dealing with the following structure in MongoDB:
{
"status": "1",
"instancia": "1",
"infoAdicionais": {
"partes": [{
"id": "123"
}]
}
}
When it comes to schema.xml in Solr, how do I declare the field infoAdicionais? I have attempted the following:
<field name="infoAdicionais" type="text_general" indexed="true" stored="true" docValues="true" />
Unfortunately, this approach did not work.
Thank you.