-
Notifications
You must be signed in to change notification settings - Fork 584
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31140 from vespa-engine/marius/add-more-significa…
…nce-searcher-tests Add additional significance searcher tests
- Loading branch information
Showing
4 changed files
with
75 additions
and
5 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
container-search/src/test/java/com/yahoo/search/significance/model/docv1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"version" : "1.0", | ||
"id" : "test::1", | ||
"description" : "desc", | ||
"languages" : { | ||
"en": { | ||
"description" : "english model", | ||
"document-count" : 12, | ||
"language" : "en", | ||
"document-frequencies" : { | ||
"usa" : 2, | ||
"hello": 3, | ||
"world": 5, | ||
"test": 2 | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
container-search/src/test/java/com/yahoo/search/significance/model/docv2.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{ | ||
"version" : "2.0", | ||
"id" : "test::2", | ||
"description" : "desc", | ||
"languages" : { | ||
"en": { | ||
"description" : "english model", | ||
"document-count" : 16, | ||
"document-frequencies" : { | ||
"usa" : 2, | ||
"hello": 3, | ||
"world": 5, | ||
"test": 4, | ||
"additional": 2 | ||
} | ||
}, | ||
"nb": { | ||
"description" : "norwegian model", | ||
"document-count" : 20, | ||
"document-frequencies" : { | ||
"usa" : 2, | ||
"hello": 10, | ||
"verden": 5, | ||
"test": 2, | ||
"norge": 11, | ||
"ja": 12, | ||
"nei": 3 | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters