Hi All,
Am indexing json documents with parent child relationship's and have the
following schema on Solr 7.5
<uniqueKey>id</uniqueKey>
<field name="_root_" type="string" docValues="false" indexed="true"
stored="false"/>
<field name="_text_" type="text_en" multiValued="true" indexed="true"
stored="false"/>
<field name="_version_" type="plong" indexed="false" stored="false"/>
<field name="id" type="string" multiValued="false" indexed="true"
required="true" stored="true"/>
<field name="month" type="pint" indexed="true" stored="true"
multiValued="false"/>
<field name="year" type="pint" indexed="true" stored="true"
multiValued="false"/>
Document -
{
"id": "Year-2019",
"year": 2019,
"_childDocuments_": [
{
"id": "5-2019",
"month": 5
}
]
}
and the error am getting is -
'_childDocuments_.id_str' is not an explicit field and doesn't match a
dynamicField."
Not using any dynamic fields in my schema.
Have anyone faced such issue ?
--
*Regards,R K*