Open edX search migration from Elasticsearch to Meilisearch: the short answer
If your Open edX search runs on Elasticsearch and you are moving to the Sumac-era Tutor setup, the short answer is that Tutor provisions Meilisearch for you and the search indexes are rebuilt, not migrated. Your Elasticsearch data does not carry over, so the work is to bring up Meilisearch through Tutor and let the platform populate it again. From Sumac, most core search supports Meilisearch as an alternative to Elasticsearch, and Tutor deployments support only Meilisearch, so this is the path you will follow during the upgrade.
The effort is best understood as a platform configuration and reindexing exercise rather than a data migration project. The work centers on updating your Tutor configuration and plugins so they no longer assume Elasticsearch, confirming that Tutor creates the indexes during the upgrade, and then checking that course search and learner-facing results look right after the rebuild. Anything you built against Elasticsearch directly, such as custom queries or dashboards that read its indexes, is the part that needs separate attention. Ask your implementation partner or your Tutor version notes to confirm exactly which of your customizations touch the search backend.
Because Meilisearch is never a source of truth in Open edX, its contents can be deleted and re-created safely. That lowers the risk of the cutover, since a failed index build can be repeated without losing course or learner data. Confirm the exact Sumac and Tutor steps against the Open edX Sumac developer and operator release notes before you schedule the change, and plan a rebuild window in your maintenance calendar.
What maps cleanly from Elasticsearch to Meilisearch
This table compares the search capabilities a team usually relies on in Open edX with their Meilisearch position from Sumac onward. Read the middle column as what the platform provides, the last column as what still needs a custom build or a check in your target release. The main takeaway is that anything you built on custom Elasticsearch queries needs your own tests before cutover.
| Capability | Status on Meilisearch | What to confirm or build |
|---|---|---|
| Learner course search | Supported by the platform when Tutor provisions Meilisearch | Confirm result ordering and relevance against your own course catalog during test indexing |
| Studio content search | Supported by the platform from Sumac, with indexes created during the upgrade | Confirm that course teams can find their content types in Studio after a full rebuild |
| Facets and filters | Confirm in the target release, as filter and facet coverage depends on the Sumac or later release you run | Test each facet your learners use; build custom filters if a facet is missing |
| Permissions-driven results | Confirm in the target release that results respect course and org access rules | Run negative tests with users who lack access to a course to confirm it does not appear |
| Custom search plugins or queries | Needs custom code if your plugins call Elasticsearch APIs directly | Rewrite against the Meilisearch interface and retest every query your team depends on |
| Cluster monitoring | Different tooling: Meilisearch has its own health and metrics endpoints rather than Elasticsearch cluster APIs | Replace Elasticsearch dashboards and alerts, and confirm the metrics you need with the vendor docs |
| Index rebuild and recovery | Supported: Meilisearch is not a source of truth, so its indexes can be deleted and re-created | Plan a rebuild window and confirm learner-facing search behavior while the index is rebuilt |
Choosing the path based on how search runs today
If your Tutor deployment already runs a release with Meilisearch support, the change is mostly operational. Tutor provisions Meilisearch and creates the indexes, so your work is confirming that the running services and configuration match that state and that search returns expected results. Meilisearch is never a source of truth in Open edX, so its indexes can be rebuilt from platform data without risk to course content.
- Configuration check: Confirm which search backend your Tutor configuration and running services point to, and remove leftover Elasticsearch settings from plugins or overrides.
- Index state: Verify that indexes exist for the courses and libraries you expect, and trigger a rebuild if counts look wrong.
- Resource sizing: Check memory and disk for the Meilisearch container against your content volume before cutover.
- Custom search code: Review any plugins, themes or XBlocks that query Elasticsearch directly, because Tutor handles provisioning but not your own code.
Before cutover, run test searches as a learner, an instructor and a Studio author, and compare the results with a baseline recorded from the previous backend.
If your Tutor deployment still uses Elasticsearch, the move happens during the upgrade to Sumac. From Sumac, most core search supports Meilisearch as an alternative to Elasticsearch, and Tutor deployments support only Meilisearch. Tutor provisions Meilisearch and creates the indexes during the upgrade, so the search move is part of the version change and should be planned with it.
- Upgrade sequencing: Read the Sumac developer and operator release notes before changing versions, and list other breaking changes that share the same maintenance window.
- Elasticsearch retirement: Remove dependencies on Elasticsearch settings, plugins, dashboards and alerts, because Tutor deployments do not use it for core search after the upgrade.
- Index rebuild window: Expect search to be incomplete while indexes are created, and schedule the upgrade with that period in mind.
- Customizations: Identify custom search features built on Elasticsearch queries, since each must be ported or removed.
- Rollback data: Keep a copy of the Elasticsearch data for rollback, while remembering that search indexes are rebuildable.
Before scheduling the production upgrade, confirm on a staging copy of production content that a full index rebuild completes and that search results match expectations.
Native installs, Ansible-based deployments and heavily patched Tutor setups do not get the Tutor provisioning step automatically. Your team decides how Meilisearch is installed, how the search backend is configured in platform settings and how indexes are created and maintained. Confirm the supported search options for your target release in the release notes, because support depends on the release and on how your build is assembled.
- Backend installation: Decide where Meilisearch runs, how it is secured and how it is patched, since nothing provisions it for you.
- Settings mapping: Map each Elasticsearch-related setting in your platform configuration to its Meilisearch equivalent, and confirm each one against the release notes.
- Index creation: Script the index creation and rebuild steps so they can be repeated during testing and cutover.
- Fork drift: List patches to search code, since they may conflict with upstream changes made during the move.
- Service ownership: Name the team that operates the search service after cutover, including alerts for index failures.
Before committing to a cutover date, have your platform engineers rehearse the full sequence on a staging environment that mirrors production configuration.
How the Meilisearch cutover runs, step by step
The sequence moves Open edX search from Elasticsearch to Meilisearch in a staging copy first, verifies the rebuilt indexes against source data, and removes Elasticsearch only after the checks pass. Because Meilisearch holds no source of truth, a rollback means rebuilding the index rather than restoring it from backup.
Inventory current search settings and customizations
Record the Elasticsearch version, host and index settings in the current Tutor configuration, plus any custom indexes, search-related plugins, XBlocks or theme code that query the search backend directly. Your Open edX team or DeployOpen reviews the list against the Sumac developer and operator release notes to confirm which search features move to Meilisearch and which still need checking. Done means every search dependency is listed with an owner and a test case.
Stand up a staging environment on the same Tutor version
Build a staging copy of the production platform on the same Tutor and Open edX release, with a restored copy of the MySQL and MongoDB data and the current configuration. Keep staging on the network you control and avoid reaching real learner data outside your approved environment. Done means staging serves the LMS and Studio with the same plugins and settings as production, and the Elasticsearch search still works there before any change.
Let Tutor provision Meilisearch and create indexes
Apply the Sumac upgrade path in staging so Tutor provisions Meilisearch and creates the search indexes as part of the upgrade, since Tutor deployments support only Meilisearch from this release. Confirm the Meilisearch service, its storage and its access settings in your own environment before relying on them. Done means the platform starts cleanly, Meilisearch is running, and the indexes exist with no errors in the upgrade logs.
Rebuild and verify index contents against source data
Run the search rebuild so course content and library data are indexed from the authoritative MySQL and MongoDB stores, then compare document counts and sample records for courses, units and Studio content against those sources. Record any gaps, such as courses that failed to index, and rerun the rebuild for them. Done means the sampled counts and records match source data and every gap has a recorded fix.
Run a parallel check of learner and Studio search
Test learner course search and Studio content search in staging with a scripted list of queries drawn from real course titles, keywords and tags, comparing results against the Elasticsearch baseline recorded in step one. Include permission checks so that unpublished or restricted content does not appear to learners who should not see it. Done means the agreed query set returns the expected results for each audience, and any differences are explained or fixed.
Cut over production and monitor search
Schedule the production change using the same upgrade path validated in staging, run the rebuild on production, and repeat the sample checks against live content. Watch search errors and indexing logs for a period you set in advance with your operations team. Done means production search returns the verified results and no indexing errors remain open.
Decommission Elasticsearch after verification passes
Remove the Elasticsearch service, its storage and its configuration only after the production checks pass and the rollback plan has been signed off. Keep the configuration backup for your own retention policy. Note that rollback during the cutover is a reindex, not a data restore, because Meilisearch is never a source of truth and its data can be deleted and re-created safely. Done means Elasticsearch is retired, the change record is closed and the runbook reflects the Meilisearch setup.
Search data flows from the source databases into Meilisearch, which can be rebuilt at any time
The flow starts with LMS and Studio saving course content and enrollment-facing data to the source databases, which remain the source of truth. An indexing job reads from those databases and writes documents into Meilisearch, which Tutor provisions during the upgrade. Learner searches and Studio searches both read from Meilisearch, never from the databases. Check that the indexing job completes after cutover, because a failed or missing index is the most visible symptom of a bad migration.
Search reads from Meilisearch, which is rebuilt from the source databases.
Whether Typesense is needed for high availability
Typesense is not a documented Open edX search backend in the supplied facts, so adopting it is a decision to confirm, not assume. The five points below determine whether the default Meilisearch setup meets your availability requirements or whether you need to design around it.
Tolerable search downtime
Start with how long learners and course teams can go without search before anyone notices. Search in Open edX serves course discovery and in-course lookup, so an outage affects users but not the course content itself. Write the tolerable window down in hours or minutes, agree it with the business owner, and compare it with what a single Meilisearch instance can deliver after a restart. If the window is short, you need a design decision before go-live, not after.
Restart and reindex inside the window
Test whether the Meilisearch deployment can restart and rebuild its indexes within your learner-facing window. Tutor provisions Meilisearch and creates the indexes during the upgrade, so the upgrade run itself is a rehearsal you can time. Confirm with your platform team how long a full reindex takes on a copy of your course catalog, and whether learners can keep using the platform while it runs.
Index size and reindex runs
Estimate how large the index grows as courses, units and content libraries grow, and how long a full rebuild takes at that size. Larger indexes make each reindex longer and raise the memory and disk you need on the Meilisearch host. Ask your Open edX operator for current course and content counts, then run a rebuild on a staging copy and record the time and resource use before you decide on a clustered design.
Search clustering skills on the team
Decide whether your team already operates search clusters, including node failure, rolling restarts, backups and monitoring. Running a second search service for high availability adds components to patch, monitor and recover, and an unfamiliar design raises incident risk. If nobody on the team has run clustered search before, plan for training or a partner's support before adding a second search engine.
Required supported search service
Check whether your organization or its auditors require a search service that the platform documents for its own high-availability design. Ask the Open edX project and Tutor maintainers whether Typesense is a supported search backend for your release, and do not rely on a community example. Until that answer is in writing, treat Meilisearch as the documented option, and keep Meilisearch's data disposable because it is never a source of truth in Open edX.
Tutor scaling docsQuestions buyers ask before moving Open edX search
How much effort does moving Open edX search to Meilisearch take?
The effort depends on how much of the platform's search setup is still default, how many customizations touch search, and how many environments need the change. The move itself is a configuration change plus an index rebuild, but the work around it (checking the upgrade path, confirming the Tutor version, testing search results on real course content, and rehearsing the cutover) takes most of the time. Drivers include the number of sites, the size of the course catalog, any custom search filters or XBlocks that read from the search index, and whether you run a single Tutor server or a multi-node deployment. Ask for a written scope that lists each environment and each verification step before you accept a quote.
Can our own team do the Elasticsearch to Meilisearch move without a partner?
Yes, if your team already runs Tutor and can read the Sumac developer and operator release notes before changing anything. Tutor provisions Meilisearch and creates the indexes during the upgrade, so the core steps are documented. Your team needs someone who can test search behavior on real content, check custom code that queries Elasticsearch directly, and roll back a failed environment. A partner adds value when the platform has custom search code, several sites, or strict change control that requires written evidence of each verification step. Compare your team's hours and on-call capacity against that scope.
What does our team need to provide for the search migration?
Plan for three inputs. First, access to the Tutor project, the server or Kubernetes cluster that runs it, and a staging copy that matches production's Tutor version and plugins. Second, a representative set of test data: courses with long text, internal links, multiple languages, and enough volume to show whether search results and facets behave correctly after the rebuild. Third, staff time from course operations or support to check search results for known courses and learner-facing search before sign-off. Ask the implementation team to write down which of these people must approve each step and how long the verification window is.
Do learners lose data when the search index is rebuilt?
No learner records are lost during a reindex, because Meilisearch is never a source of truth in Open edX. The Tutor scaling documentation states that its data can be deleted and re-created safely. The search index is a derived copy of course content, so the rebuild regenerates it from the authoritative stores. What you should protect is the configuration, the Tutor project files, and your normal backups of the databases. Confirm this behavior for your exact release in the Sumac developer and operator release notes before cutover, and record the check in your change ticket.
Can Elasticsearch keep running during a parallel run?
Keeping Elasticsearch available during testing is a reasonable way to compare results, but it depends on how your platform is configured and whether the Tutor version you run still uses it. From Sumac, most core search supports Meilisearch as an alternative, and Tutor deployments support only Meilisearch. That means a parallel run usually happens in a staging environment built from the same configuration, not as two live search engines serving learners at once. Ask your implementer to confirm whether any custom code still points at Elasticsearch, and to plan the parallel comparison on a copy of the platform.
Do we need Typesense for high availability of search?
Not as a default. The supplied release notes say Tutor deployments support only Meilisearch, so Typesense is not part of the standard Tutor path for Sumac-based platforms. The real question is availability: if learners need search during a short Meilisearch outage, decide how your platform handles a stopped or rebuilding index, such as showing an error, a cached page, or a maintenance message. Any move to a second search engine adds custom integration, extra indexing logic and extra testing. Confirm with your implementer and the Tutor scaling documentation whether a supported high-availability pattern exists for your version before you plan for it.
What happens if the reindex fails during cutover?
A failed reindex affects search results, not the authoritative course and learner data, because the index can be deleted and re-created. Your rollback plan should cover the Tutor configuration change, the index rebuild command, and a way to return learners to a known search state, such as the previous configuration in version control. Before cutover, test the rebuild on staging, measure how long the rebuild takes on your largest content set, and agree a point at which the team stops and rolls back. Ask the implementer to show the failure checks and the rollback steps in writing, and to test them on a copy of production.
What usually goes wrong during search cutover and how to prevent it
Search cutover problems rarely come from the Meilisearch install itself. They come from custom search behavior that was never inventoried, from assumptions about data durability and timing, and from decommissioning too early. Each risk below has a prevention step you can check before the cutover window opens.
Custom Elasticsearch queries do not port
Any site-specific query, custom analyzer, plugin or ranking tweak built against Elasticsearch may not behave the same way on Meilisearch. Before cutover, list every custom search query, filter and plugin your team or a previous vendor added, then confirm each one against the Meilisearch support described in the Sumac release notes. Test each custom query on a staging copy of the catalog and record which results change.
Sumac release notesTreating Meilisearch as a backup
Teams sometimes assume the search engine holds data worth restoring, so they skip backups of it or plan recovery from it. Tutor's scaling guidance says Meilisearch is never a source of truth in Open edX, so its contents can be deleted and rebuilt. Back up the MySQL and MongoDB data that the index is built from, and document the rebuild as the recovery path for search itself.
Tutor scaling docsShipping stale search results
If the index is not rebuilt after content changes, learners and course teams see courses, units or libraries that no longer match the database. Stale results often show up only in search pages that few people use, so they go unnoticed. Run a verification pass after each reindex: search for a sample of recently edited courses, check that updated titles and removed content match, and confirm the index count against the source data before you switch traffic over.
Underestimating reindex time
Rebuilding indexes on a large catalog can take far longer than a test site suggests, and the window in which search is unavailable or incomplete grows with it. Ask your partner or platform team to measure a full reindex on a copy of production data before you schedule the cutover. Plan the maintenance window from that measured run, not from the size of a small test course set.
Decommissioning Elasticsearch too early
Removing the old Elasticsearch cluster as soon as Meilisearch answers queries removes the fallback you may need if results are wrong. Keep the old service and its data until the verification pass and a set period of normal use are complete. Write down the rollback window and the rollback steps before cutover, and only delete Elasticsearch after the window closes without a reported search defect.
Assuming high availability without testing
Adding a second search node or a Typesense instance does not guarantee search keeps working during a failure. The failover path, the rebuild after a node loss and the behavior of the application during the switch all need to be exercised. Test a node failure and a full rebuild in a non-production environment and confirm with your Tutor and infrastructure team which high availability design they have verified for your deployment.
What drives the effort and cost of the search move
This table compares the main drivers of effort and cost for moving Open edX search from Elasticsearch to Meilisearch, and whether each driver is paid once or recurs. Read each row as a question to answer before asking for a quote, since most drivers change scope in both directions. The main takeaway is that index rebuild work is usually a smaller share of the move than the checks around configuration, search customizations and high availability.
| Driver | Why it changes effort or cost | What to ask for in a quote |
|---|---|---|
| Number of courses and content items | Larger catalogs take longer to reindex and longer to spot-check after the rebuild. This is mostly a one-time cost, with reindexing repeated only when the index is rebuilt again. | Estimated content counts, reindex approach and expected downtime or search unavailability window |
| Custom search queries or index changes | Custom ranking, filters or fields added to Elasticsearch must be ported or rechecked against Meilisearch behavior. This is one-time work that can grow with each customization. | List of custom search code, plugins and index fields, with the work to port or retire each one |
| Tutor version and deployment model | Meilisearch support depends on the Open edX release and Tutor version in use, so the upgrade path and Tutor plugin state shape the plan. Single-server and Kubernetes deployments differ in provisioning steps. | Confirmed Tutor and Open edX release in use, target versions and the deployment model for each environment |
| Availability requirements | Learners relying on search during the cutover need a planned switch, parallel validation or a maintenance window. Stricter targets add one-time planning and recurring monitoring. | Acceptable search downtime, cutover approach, rollback plan and who owns monitoring afterward |
| Number of environments | Each environment, including development, staging and production, needs its own provisioning, index rebuild and verification. Costs repeat per environment, while shared procedures are reused. | List of environments, their data volumes and whether each one is rebuilt from scratch or copied |
| Verification depth | Checking search results against known queries, permissions and learner-visible content takes more time than the rebuild itself. Deeper testing is one-time for the move but can become a recurring regression set. | Test cases covered, who signs off results and whether a retest is included |
| In-house skills | Teams already running Tutor, Docker or Kubernetes and Open edX search internals need less guidance. Teams without that experience usually need training or an external partner for more of the work. | Skills review of your team, the tasks you plan to keep in-house and the tasks you want delivered |
| Ongoing operations of Meilisearch | Meilisearch is not a source of truth, so its data can be deleted and re-created, which keeps recovery simple. Recurring effort is mainly monitoring, resource sizing and rebuilding indexes after changes. | Support scope after the move, monitoring expectations and the process for rebuilding indexes |
What your team needs to provide for the search move
Your team needs to provide a set of inputs before the search move can be scoped and scheduled. The most important is access to the current Tutor configuration and custom settings, including the project root, the config.yml file and any plugins that touch search, so the migration can be mapped against what your platform actually runs today. Also provide the Open edX release you run now, because the Elasticsearch to Meilisearch change is tied to the Sumac release line and the upgrade path depends on where you start. Confirm the exact needs with DeployOpen against the written scope, since the list below changes with the size of your platform and the number of plugins involved.
Next, provide a list of the search features learners and course teams depend on, such as course search in Studio, catalog search in the LMS and any search-backed dashboards or custom plugins. Pair that list with representative test content and a set of real queries that learners and authors type, so verification compares results before and after the move rather than checking only that the service starts. Provide a staging environment with capacity close to production, so the rebuild of indexes can be timed and observed without affecting learners. Meilisearch is not a source of truth in Open edX, so index data can be deleted and re-created, but you should still confirm with your own team how long a full re-index takes on your content volume.
Finally, name a verification owner in the business who can sign off that search results are acceptable, and agree on a maintenance window for the cutover with the people who communicate with learners and course teams. Ask your team to confirm who approves the rollback decision if results are wrong after the switch. Decisions on whether Typesense is needed for high availability should be made by the same group, because they affect the staging design and the number of nodes you ask DeployOpen to provision.
How DeployOpen scopes, delivers and supports the search migration
DeployOpen treats the move from Elasticsearch to Meilisearch as a scoped piece of platform work inside your own infrastructure. We agree what changes, how indexes are rebuilt and how the high availability decision is recorded before any cutover is planned.
How we scope
- Inventory your current Elasticsearch deployment, the Open edX release in use and every search-dependent feature your learners and course teams rely on.
- Confirm the Tutor version and the Sumac-based upgrade path, including the point at which Tutor provisions Meilisearch and creates the indexes.
- Agree in writing whether a Typesense option is needed for high availability, and record the reasons for that decision.
How we build
- Provision Meilisearch through Tutor in a staging environment that mirrors your production configuration and network controls.
- Rebuild search indexes from the platform data, then test search results, filters and permissions against a defined set of queries.
- Document the rebuild commands, configuration keys and rollback steps, and rehearse the Elasticsearch retirement before production.
How we hand over
- Deliver a runbook covering index rebuilds, the Meilisearch service, configuration changes and how to recover after a node or volume failure.
- Walk your platform and operations staff through the cutover evidence, test results and open decisions, so they can repeat the steps.
- Record the scope, environment details and sign-off in the closing report that accompanies the fixed-scope agreement.
How we support
- Offer ongoing support, Open edX upgrades and continuous testing as a retainer if your team wants DeployOpen to keep the search stack current.
- Retest search behavior after each Tutor or Open edX upgrade, since index provisioning and configuration can change between releases.
- Confirm with your team which search-related incidents they want DeployOpen to handle, and agree the response arrangements in the retainer terms.

