Is there a way in Azure Cognitive search to map output of skill to DateTimeOffset field? Getting an error:
Skill returns:
{ "values": [ { "recordId": "0", "data": { "date": "2020-09-25T04:00:00.0000000Z" }, "errors": null, "warnings": null } ] }
Indexer maps the skill output
"outputFieldMappings" : [ { "sourceFieldName": "/document/message_date", "targetFieldName": "message_date" } ]
where message_date defined as
{ "name": "message_date", "type": "Edm.DateTimeOffset", "sortable": true, "searchable": false, "filterable": true, "facetable": false },
Getting indexer error: The data field 'message_date' in the document with key 'NA_0138373324' has an invalid value of type 'Edm.String' (JSON String maps to Edm.String). The expected type was 'Edm.DateTimeOffset'
How to force indexer to convert it to date ? there is no mapping function like that