From 785032fc1e8dbaf5d165807860950a62daa74039 Mon Sep 17 00:00:00 2001 From: THOR300 Date: Mon, 6 Jan 2025 08:15:59 +0000 Subject: [PATCH] Update vespa test files --- .../test_app/schemas/family_document.sd | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tests/local_vespa/test_app/schemas/family_document.sd b/tests/local_vespa/test_app/schemas/family_document.sd index de73ae21..1224a9df 100644 --- a/tests/local_vespa/test_app/schemas/family_document.sd +++ b/tests/local_vespa/test_app/schemas/family_document.sd @@ -159,6 +159,19 @@ schema family_document { attribute: fast-search } } + + struct concept_metadata { + field concept_id type string {} + field count type int {} + } + + field concepts_metadata type map { + indexing: summary + struct-field key { + indexing: attribute + attribute: fast-search + } + } } import field search_weights_ref.name_weight as name_weight {} @@ -275,6 +288,7 @@ schema family_document { summary document_cdn_object {} summary document_source_url {} summary metadata {} + summary concepts_metadata {} summary corpus_import_id {} summary corpus_type_name {} summary collection_title {} @@ -299,6 +313,7 @@ schema family_document { summary document_cdn_object {} summary document_source_url {} summary metadata {} + summary concepts_metadata {} summary corpus_import_id {} summary corpus_type_name {} summary collection_title {}