Check that the indexer is correctly configured to map the metadata fields. For example:
{
"sourceFieldName": "/document/metadata_idioma",
"targetFieldName": "idioma",
"mappingFunction": {
"name": "base64Decode",
"parameters": {
"useHttpServerUtilityUrlTokenDecode": false
}
}
},
{
"sourceFieldName": "/document/metadata_tema",
"targetFieldName": "tema",
"mappingFunction": {
"name": "base64Decode",
"parameters": {
"useHttpServerUtilityUrlTokenDecode": false
}
}
}
In the skillset, verify that metadata extraction is enabled, and you’re explicitly pulling the metadata properties using the /document/metadata_*
path.
Check also the target fields (idioma
, tema
) they should be defined in your index schema and have Filterable
enabled if you need to filter by them.
{
"name": "idioma",
"type": "String",
"retrievable": true,
"filterable": true,
"sortable": true,
"facetable": true,
"searchable": false
},
{
"name": "tema",
"type": "String",
"retrievable": true,
"filterable": true,
"sortable": true,
"facetable": true,
"searchable": false
}