Skip to content

Integrate with Meilisearch search engine #124

@regisb

Description

@regisb

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:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions