From 96866dc69a2761c8550d812595f471a9aed3b837 Mon Sep 17 00:00:00 2001 From: kdutia <20212179+kdutia@users.noreply.github.com> Date: Thu, 5 Dec 2024 16:33:46 +0000 Subject: [PATCH] Update vespa test files --- .../local_vespa/test_app/schemas/document_passage.sd | 10 +++++----- .../local_vespa/test_app/schemas/family_document.sd | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/local_vespa/test_app/schemas/document_passage.sd b/tests/local_vespa/test_app/schemas/document_passage.sd index 863929d..5a221f1 100644 --- a/tests/local_vespa/test_app/schemas/document_passage.sd +++ b/tests/local_vespa/test_app/schemas/document_passage.sd @@ -177,7 +177,7 @@ schema document_passage { first-phase { expression: text_score() } - match-features: text_score() fieldMatch(text_block) + summary-features: text_score() fieldMatch(text_block) } rank-profile exact_not_stemmed inherits default { @@ -187,7 +187,7 @@ schema document_passage { first-phase { expression: text_score() } - match-features: text_score() fieldMatch(text_block) + summary-features: text_score() fieldMatch(text_block) } rank-profile hybrid_no_closeness inherits default { @@ -197,7 +197,7 @@ schema document_passage { first-phase { expression: text_score() } - match-features: text_score() bm25(text_block) + summary-features: text_score() bm25(text_block) } rank-profile hybrid inherits default { @@ -210,7 +210,7 @@ schema document_passage { first-phase { expression: text_score() } - match-features: text_score() bm25(text_block) closeness(text_embedding) + summary-features: text_score() bm25(text_block) closeness(text_embedding) } rank-profile hybrid_custom_weight inherits default { @@ -224,6 +224,6 @@ schema document_passage { first-phase { expression: text_score() } - match-features: text_score() bm25(text_block) closeness(text_embedding) + summary-features: text_score() bm25(text_block) closeness(text_embedding) } } diff --git a/tests/local_vespa/test_app/schemas/family_document.sd b/tests/local_vespa/test_app/schemas/family_document.sd index e56963b..de73ae2 100644 --- a/tests/local_vespa/test_app/schemas/family_document.sd +++ b/tests/local_vespa/test_app/schemas/family_document.sd @@ -178,7 +178,7 @@ schema family_document { first-phase { expression: name_score() + description_score() } - match-features: name_score() description_score() + summary-features: name_score() description_score() } rank-profile exact_not_stemmed inherits default { @@ -191,7 +191,7 @@ schema family_document { first-phase { expression: name_score() + description_score() } - match-features: name_score() description_score() + summary-features: name_score() description_score() } rank-profile hybrid_no_closeness inherits default { @@ -204,7 +204,7 @@ schema family_document { first-phase { expression: name_score() + description_score() } - match-features: name_score() description_score() + summary-features: name_score() description_score() } rank-profile hybrid inherits default { @@ -220,7 +220,7 @@ schema family_document { first-phase { expression: name_score() + description_score() } - match-features: name_score() description_score() + summary-features: name_score() description_score() } rank-profile hybrid_no_description_embedding inherits default { @@ -236,7 +236,7 @@ schema family_document { first-phase { expression: name_score() + description_score() } - match-features: name_score() description_score() + summary-features: name_score() description_score() } rank-profile hybrid_custom_weight inherits default { @@ -253,7 +253,7 @@ schema family_document { first-phase { expression: name_score() + description_score() } - match-features: name_score() description_score() + summary-features: name_score() description_score() }