-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Description
As part of the transition from Elasticsearch to Meilisearch, we need to make sure that the forum works with this new search engine. Thus, we need to implement a togglable search engine which will query Meilisearch instead of Elasticsearch, both for storage and retrieval.
We need to implement the following:
- Create a
FORUM_SEARCH_ENGINEsetting, which will point to a search engine class imported at runtime. - Create a
MeilisearchBackendclass that exposes a similar API to theElasticsearchBackend. Make sure that both classes inherit from an abstractBaseSearchBackendclass. Replace all instances ofElasticsearchBackendin the codebase byBaseSearchBackend. - Implement the required methods of
MeilisearchBackendclass. Do this in a test-driven development (TDD) manner.
Prior work exist which we can use as reference:
- Student notes search backend: feat: meilisearch backend for notes search edx-notes-api#444
- edx-platform search engine: feat: add Meilisearch-compatible search engine with tests edx-search#164
Metadata
Metadata
Assignees
Labels
No labels