diff --git a/resources-domain/packages/resources-search-config/resourceIndexDocumentMappings.ts b/resources-domain/packages/resources-search-config/resourceIndexDocumentMappings.ts index 4369e210c..663150564 100644 --- a/resources-domain/packages/resources-search-config/resourceIndexDocumentMappings.ts +++ b/resources-domain/packages/resources-search-config/resourceIndexDocumentMappings.ts @@ -152,6 +152,7 @@ export const resourceIndexDocumentMappings: ResourceIndexDocumentMappings = { languages: { type: 'keyword', isArrayField: true, + attributeKeyPattern: /^languages\/.*$/, indexValueGenerator: ({ value, info }: ReferrableResourceAttribute) => `${info?.language ?? ''} ${value}`, },