Indexer failing on Collection(Edm.String) field
we have index has been updating fine, until last night. part of index, have several multi-value fields index collection(edm.string) data type.
the indexer set using fieldmappings follows: (simplified version 1 of mappings)
"fieldmappings" : [
{ "sourcefieldname" : "contributorids", "mappingfunction" : { "name" : "jsonarraytostringcollection" } }
]
the incoming data looks this: ["p510061","p493835"]
last night, started throwing errors such this, whenever try run indexer
"key": "s200003901","errormessage": "the data field 'contributorids' has invalid value. expected type 'collection(edm.string)'."
nothing has changed in data or index setup, i'm @ loss why no longer works. using the 2015-02-28-preview version of api, can use fieldmappings. has changed feature?
thanks on this,
jim
well, figured out happened here. when created indexer, did via postman , used the 2015-02-28-preview version of api. later went in through azure portal, , edited indexer add scheduled update. apparently adding schedule through portal recreated indexer the 2015-02-28 version of api. since require features in preview version, caused fail.
so, once recreated indexer in postman schedule in , using the 2015-02-28-preview api version, working fine again.
Microsoft Azure > Azure Search
Comments
Post a Comment