From af72396ffc03625322b595f1becc897a16173a43 Mon Sep 17 00:00:00 2001 From: olaughter Date: Thu, 29 Aug 2024 14:34:24 +0100 Subject: [PATCH] Remove embeddings from fieldset Deals with the error: ``` WARNING For schema '...', fieldset 'default': Tensor fields ['...'] cannot be mixed with non-tensor fields ['...'] in the same fieldset. See https://docs.vespa.ai/en/reference/schema-reference.html#fieldset ``` --- .../vespa_test_schema/schemas/document_passage.sd | 2 +- .../vespa_test_schema/schemas/family_document.sd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/search/search_fixtures/vespa_test_schema/schemas/document_passage.sd b/tests/search/search_fixtures/vespa_test_schema/schemas/document_passage.sd index 23620639..e279cd0f 100644 --- a/tests/search/search_fixtures/vespa_test_schema/schemas/document_passage.sd +++ b/tests/search/search_fixtures/vespa_test_schema/schemas/document_passage.sd @@ -64,7 +64,7 @@ schema document_passage { import field search_weights_ref.passage_weight as passage_weight {} fieldset default { - fields: text_block, text_embedding + fields: text_block } document-summary search_summary { diff --git a/tests/search/search_fixtures/vespa_test_schema/schemas/family_document.sd b/tests/search/search_fixtures/vespa_test_schema/schemas/family_document.sd index c64360bf..e62d6df5 100644 --- a/tests/search/search_fixtures/vespa_test_schema/schemas/family_document.sd +++ b/tests/search/search_fixtures/vespa_test_schema/schemas/family_document.sd @@ -155,7 +155,7 @@ schema family_document { import field search_weights_ref.description_weight as description_weight {} fieldset default { - fields: family_name_index, family_description_index, family_description_embedding + fields: family_name_index, family_description_index } rank-profile exact inherits default {