From cfeec882e73a28768acd2115f5fa6b29a250d742 Mon Sep 17 00:00:00 2001 From: olaughter <51889566+olaughter@users.noreply.github.com> Date: Tue, 10 Dec 2024 10:11:57 +0000 Subject: [PATCH] :robot: change match-features to summary-features in the staging vespa schemas (#153) * Update vespa test files * bump version to 1.9.7 * bump version to 1.9.8 --------- Co-authored-by: kdutia <20212179+kdutia@users.noreply.github.com> Co-authored-by: Kalyan Dutia --- src/cpr_sdk/version.py | 2 +- .../local_vespa/test_app/schemas/document_passage.sd | 10 +++++----- .../local_vespa/test_app/schemas/family_document.sd | 12 ++++++------ 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/cpr_sdk/version.py b/src/cpr_sdk/version.py index 14653df..80a35bb 100644 --- a/src/cpr_sdk/version.py +++ b/src/cpr_sdk/version.py @@ -1,6 +1,6 @@ _MAJOR = "1" _MINOR = "9" -_PATCH = "7" +_PATCH = "8" _SUFFIX = "" VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR) 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() }