Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate with Meilisearch search engine #124

Closed
regisb opened this issue Oct 31, 2024 · 1 comment
Closed

Integrate with Meilisearch search engine #124

regisb opened this issue Oct 31, 2024 · 1 comment
Assignees

Comments

@regisb
Copy link
Contributor

regisb commented Oct 31, 2024

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:

  1. Create a FORUM_SEARCH_ENGINE setting, which will point to a search engine class imported at runtime.
  2. Create a MeilisearchBackend class that exposes a similar API to the ElasticsearchBackend. Make sure that both classes inherit from an abstract BaseSearchBackend class. Replace all instances of ElasticsearchBackend in the codebase by BaseSearchBackend.
  3. Implement the required methods of MeilisearchBackend class. Do this in a test-driven development (TDD) manner.

Prior work exist which we can use as reference:

@regisb
Copy link
Contributor Author

regisb commented Nov 14, 2024

Closed by #126

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant