Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🤖 change match-features to summary-features in the staging vespa schemas #153

Merged
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 = "6"
_PATCH = "7"
_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
Loading