Skip to content

Commit

Permalink
🤖 bug fix in local vespa schema (summary features) (#427)
Browse files Browse the repository at this point in the history
* Update vespa test files

* bump version to 1.19.19

* bump version to 1.19.20

---------

Co-authored-by: kdutia <[email protected]>
Co-authored-by: Kalyan Dutia <[email protected]>
  • Loading branch information
3 people authored Dec 16, 2024
1 parent 2931802 commit 870fb8f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "navigator_backend"
version = "1.19.19"
version = "1.19.20"
description = ""
authors = ["CPR-dev-team <[email protected]>"]
packages = [{ include = "app" }, { include = "tests" }]
Expand Down
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)
}
}
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 870fb8f

Please sign in to comment.