-
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.
Switch searches to use vespa by default (#205)
* Switch searches to use vespa by default Minimal change switchover to make it easy to switch back if needed, this just makes vespa the default over opensearch. The api can still query opensearch by setting `use_vespa` to False. We can delete the opensearch code when we're confident we won't need it as a fallback * Keep opensearch tests working This distinguishes opensearch tests by giving them their own pytest mark, it also adds a parameter to the api request to cause the endpoint to still use opensearch for these tests. Finally we rename the make task for opensearch specific tests * Setup for vespa in CI Adds test db setup, fixtures and commands to run vespa in ci * Direct most opensearch tests towards vespa Some have been made obsolete, either overtime or because vespa handles something differently. But this adapts as many of the existing opensearch tests as possible to point at the vespa route instead * Tidy up make file commands * remove redundant test No longer needed as we store the slug in vespa * increase disk space folllowing feed errors in github actions * Remove filter keyword tests until issue resolved These tests are currently failing due to an issue in the Data access library. Removing them until the issue can be resolved * Re add filter tests following DAL fix Context: climatepolicyradar/data-access#118 * remove test override used to confirm dal changes * add type hints to vespa test setup * Move search test setup to their own file * Tidy up makefile variable
- Loading branch information
Showing
17 changed files
with
8,380 additions
and
623 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
Oops, something went wrong.