Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial migration API for Opensearch This creates the definitions for schemas, and an API for performing upgrades. Affects: https://ebce-lyrasis.atlassian.net/browse/PP-37 * Add tests for search document types * Implement mappings updates in populate_index() * Implement bulk search document uploads. * Adjust the interface so that search documents are created lazily. * Adjust the API to allow for separate migration and population. * Set index for search documents inside search service. * Properly clean up indexes, as this was affecting test stability. * Ensure that search documents must be written to aliases. * Always specify the alias pointer for a search query * Updated all Keyword type fields as filterable_strings * Search index removal and repopulation via search_index_refresh * SearchService object is now base name dependent Since we have no use case of different base names in a single CM * Search version is an implicit class variable now It is not passed through the init, but should be part of the class definition * Removed the burden of migration initialization from ExternalSearchIndex Since instance_initialization does the same job, we depend on it to run before hand Added test cases specifically for these scenarios --------- Co-authored-by: Rishi Diwan <[email protected]>
- Loading branch information