generated from ghga-de/microservice-repository-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix bug with validator * Add relevance option for sort order * Make relevance the default sort * Fix wrong comparison operator in test * Add test config for data to test relevance sorting * Add test data * Change sorting_parameters default to [ ] * Catch empty list as well as None in QH * Add tests for relevance * Fix/replace flawed sorter * Bump version from 0.3.1 -> 0.3.2 * Add return type to SearchParameters validator --------- Co-authored-by: TheByronHimes <[email protected]>
- Loading branch information
1 parent
1598193
commit eedd7fb
Showing
11 changed files
with
372 additions
and
35 deletions.
There are no files selected for viewing
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
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
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
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
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,29 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"data": "test test test test test test", | ||
"field": "alternative", | ||
"id_": "i2" | ||
}, | ||
{ | ||
"data": "test test test test test", | ||
"field": "same as i1", | ||
"id_": "i4" | ||
}, | ||
{ | ||
"data": "test test test test", | ||
"field": "same as i4", | ||
"id_": "i1" | ||
}, | ||
{ | ||
"data": "test test test ", | ||
"field": "some data", | ||
"id_": "i3" | ||
}, | ||
{ | ||
"data": "test test test test test", | ||
"field": "alternative alternative", | ||
"id_": "i5" | ||
} | ||
] | ||
} |
Oops, something went wrong.