Skip to content

Commit

Permalink
🤖 change match-features to summary-features in the staging vespa sche…
Browse files Browse the repository at this point in the history
…mas (#153)

* Update vespa test files

* bump version to 1.9.7

* bump version to 1.9.8

---------

Co-authored-by: kdutia <[email protected]>
Co-authored-by: Kalyan Dutia <[email protected]>
  • Loading branch information
3 people authored Dec 10, 2024
1 parent 8b5f905 commit cfeec88
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/cpr_sdk/version.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
_MAJOR = "1"
_MINOR = "9"
_PATCH = "7"
_PATCH = "8"
_SUFFIX = ""

VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR)
Expand Down
10 changes: 5 additions & 5 deletions tests/local_vespa/test_app/schemas/document_passage.sd
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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)
}
}
12 changes: 6 additions & 6 deletions tests/local_vespa/test_app/schemas/family_document.sd
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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 {
Expand All @@ -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()
}


Expand Down

0 comments on commit cfeec88

Please sign in to comment.