Indexer fails to index when items is missing for array attribute
Steps to reproduce:
Create a schema where array attribute has items missing. Example :-
"Wellbores": {
"pattern": ".*U1A1NjA3MDM2Mzk5MzUy:.*",
"description": "The Well ID reference.",
"x-osdu-relationship": [
{
"EntityType": "Wellbore",
"GroupType": "master-data"
}
],
"type": "array"
}
What I expected to happen, and what actually happened:
Expected correct attributes in the schema should be indexed and message should be logged for attribute attribute not indexed due to items missing in the attribute for the schema
**Actual **- indexer completed rejected the record.