How Open edX search works and when your team needs to choose a backend
If you run or plan an Open edX site, learners and course authors will depend on search to find courses, units and content, so the search backend is a decision you make during installation, not a feature you add later. The search backend is a separate service that the Open edX platform calls. It holds an index of course and content data that the platform builds, and it answers the queries learners and authors send from the catalog and Studio. Because it runs beside the LMS and Studio rather than inside them, it has its own hosting, its own storage, its own upgrade cycle and its own failure modes. Your team should decide which engine to run, where it lives and how it is rebuilt before the first course is published, since changing it later means reindexing content and retesting search across both sites.
The choice matters for two reasons. The first is high availability: if the search service is down, the catalog and course lookup degrade even when the LMS itself is healthy, so you need to plan how the service is replicated, monitored and restored. The second is upgrades: the search engine version, the server requirements and the platform release have to line up, and the index may need to be rebuilt after a change. Before build, confirm the exact configuration keys, the supported backend versions and the server requirements for your target release in the Open edX release notes and the Tutor documentation, because these details change between releases and this page does not set them.
Ask your platform engineers to write down three things before installation: which backend the release you are targeting supports by default, what high availability level the catalog needs, and who owns the search service's backups and index rebuilds. Those answers decide whether the default engine is enough or whether a second engine with stronger clustering belongs in the design, and they feed directly into the sizing and upgrade plan for the whole platform.
Meilisearch or Typesense: which backend fits which situation
This table compares Meilisearch and Typesense for Open edX search across the decisions that shape the choice: default guidance, high availability, server version, feature coverage, operational load and migration. Read each row as a list of items to confirm for your named release before you commit. The main takeaway is that the supported server version and feature coverage for your release should decide the backend.
| Decision | Meilisearch | Typesense |
|---|---|---|
| Default guidance | Usually the starting point for a standard install. Confirm in your release's install documentation that it is still the default. | Considered when high availability of search matters. Confirm the trade-offs in your release notes before choosing it. |
| High availability needs | Confirm how the search service behaves across multiple nodes and whether your release supports the clustering model you plan. | Confirm the clustering and failover model, and whether the Open edX integration supports it, before designing a multi-node search tier. |
| Server version requirement | Confirm the Meilisearch server version your named release supports, including any minimum version. | Confirm the Typesense server major version your named release requires. The Verawood release notes are the first place to check. |
| Feature coverage | Confirm which search features in your release still depend on Meilisearch. Those features must stay on it. | Confirm which search features the Typesense backend covers in your release, and whether any gaps remain. |
| Operational load | One search service to run, back up, monitor and upgrade. Load depends on index size and query volume. | A separate search service with its own resource, backup and upgrade steps. Confirm these in staging before sizing production. |
| Switching backends | Confirm how indexes are rebuilt and whether a rebuild causes search downtime for learners and course teams. | Confirm the reindex procedure, the time it takes on your content volume and any downtime before switching an existing site. |
| Upgrade alignment | Track the Meilisearch version your release supports and plan its upgrades alongside platform upgrades. | Track the Typesense version alongside platform upgrades and test the pairing in a staging environment first. |
Learner and author searches reach the search backend through the LMS and Studio
The diagram starts with a learner's search in the browser and an author's publish action in Studio. The LMS sends search requests, and Studio sends index updates when course content is published, both to the search backend, which is either Meilisearch or Typesense. A scoped API key controls which services can reach the engine, and the reindex command rebuilds the index from course content. Check that the trust boundary holds the engine, its keys and the reindex path inside your infrastructure.
Search and indexing paths inside the client's trust boundary.
When high availability should push the decision toward Typesense
Choose Typesense when a search outage would hurt more than a slow or limited search experience. In Open edX, search is used where learners look for courses and where course teams look for content, so an unavailable search service shows up as a catalog that cannot be browsed and content that cannot be found. A single search node makes that outage likely to happen whenever the node restarts, is upgraded, runs out of memory or loses its disk. Ask the business owners of the catalog and the authoring teams how long they can tolerate that, and which features must keep working while search is down.
Clustering, failover and node count are not settled by the choice of Typesense alone. They depend on how your team deploys Typesense, where its nodes sit across failure domains, how the index is stored and how Open edX reconnects after a failover. Your team must design these and test them before launch. A useful test is to stop one node during a live catalog query and record what learners see, how long results take to return and whether the LMS recovers without a restart. Also agree who rebuilds or verifies the index after a failover and how long that check takes.
Confirm the Typesense server version and configuration that your Open edX release expects before you size the cluster. Check the requirements in the Open edX Verawood release notes and the Tutor documentation for your own release, and do not rely on settings copied from an older installation. Also confirm with your platform team which search backend setting is active on each site, because an instance can have features that still depend on Meilisearch. Record these answers in the design document so the cluster is built to the requirement you actually run.
Setting up Open edX search with Meilisearch or Typesense in order
This sequence confirms the Open edX release and search backend, provisions and configures the search server, builds and reindexes the course index, and proves that the index matches published content and that learners and authors can search it. Each stage ends with a check the team can record, so the platform owner can sign off the search backend before it serves learners.
Confirm the release and backend requirements
The platform owner confirms which named Open edX release the platform runs, then reads that release's notes for search backend requirements. Verawood is the current named release, and its release notes set a Typesense server requirement, so teams on Verawood must confirm the exact server version there before provisioning anything. Open edX supports only the latest named release, so a platform on an older release needs an upgrade plan before search work starts. This step is done when the release, the backend and the required server version are written down and signed off by the platform owner.
Choose Meilisearch or Typesense for your deployment
The platform owner selects the backend based on operating needs. Meilisearch is the default choice, and Typesense is the stronger fit where high availability matters. Before deciding, confirm with the release notes and the platform documentation which search functions still depend on Meilisearch, because a Typesense-only design may not cover every feature. Record the decision with its reasons, the team that will run the server and the failover expectation for learners. This step is done when the decision record names one backend and lists the features it depends on.
Provision the search server in your infrastructure
The infrastructure team deploys the chosen search server in the same network zone as the LMS and Studio, with storage, memory and backups sized for your course catalog. For Typesense with high availability, plan a multi-node cluster and confirm its quorum and failover behavior in the vendor documentation before go-live. Limit network access so that only the LMS, Studio and the operations team can reach the API port, and store the admin key in your secrets manager. This step is done when the server answers a health check from a host inside the cluster and refuses connections from outside the allowed network.
Configure credentials and platform search settings
The Tutor or platform team sets the search endpoint, API key and index settings in the Open edX configuration, using the setting names from the documentation for the release in use. Give the LMS and Studio a search-only key, keep the admin key out of the platform configuration, and assign a named owner to each key for rotation. Apply the change through Tutor, restart the affected services and check the startup logs for search configuration errors. This step is done when the LMS and Studio start cleanly with the search backend configured and no connection errors appear in their logs.
Build the index and run a full reindex
An operator runs the index build for the course catalog and course content from a single controlled account, so the first index reflects the current published courses. Record the start and end times, the number of courses the build processed, and any courses that failed or were skipped, with the reason for each. Schedule a full reindex after bulk course imports, after changes to searchable fields and after restoring a backup. This step is done when the build finishes without unresolved errors and the document count is ready for reconciliation in the next step.
Check the index against published content
Compare the indexed documents with what learners can see. Choose a sample of published courses, unpublished drafts and recently edited units, then confirm that published items appear in the index and drafts do not. Edit a course title in Studio, run the index update and confirm the new title appears, then archive or unpublish a test course and confirm it is removed from results. Keep the sample and results with the release record. This step is done when every sampled item matches its published state and the document totals reconcile with the platform's course list.
Verify reachability and learner and author search
From the LMS and Studio hosts, confirm each can reach the search server over the internal network, and confirm that a request from outside the allowed network is refused. Then search as a learner for a known published course title, and search in Studio as a course author for a draft title, recording the results for each. In a test environment, stop the search service and confirm the LMS and Studio show a clear error and do not fail silently. This step is done when both roles find the expected results and the failure test is recorded with its outcome.
Securing the search service and the data it holds
The search server sits beside the LMS and Studio and holds a copy of course and learner-facing data, so it needs the same care as any other data store. The cards below cover where it runs, which keys it uses, what it indexes, how it is backed up, who can see its logs, and how it is patched.
Keep the search server off the public network
Place Meilisearch or Typesense on a private network segment that only the LMS and Studio workers can reach, with no public DNS record or load balancer rule pointing at it. Learners should always search through the platform, never directly against the search API. Confirm the firewall rules from the Open edX web and Celery hosts, and test that the search port fails from outside the cluster.
Scope API keys to the job
Create a separate key for the platform to query the index and a different, tightly limited key for the indexing process that writes course content. Do not hand the admin or master key to the LMS or Studio containers. Store keys in your secrets manager, not in the Tutor configuration file, and record which service uses which key so a rotation touches only the right components.
Review what the index holds
The index stores course titles, descriptions, unit text and any indexed metadata, and depending on the configuration it can include content that a course team marked as restricted or unpublished. Before go-live, list the document types being indexed, confirm that learner profile fields and enrollment data stay out of it, and decide which courses are searchable. Any change to indexed fields should go through the same review as a schema change.
Back up and restore the index
Treat the search index as derived data that must be rebuilt after a loss, and plan for it accordingly. Schedule snapshots of the search data directory where the server supports them, and test restoring one to a separate host. Also document the full reindex procedure, how long it takes on your largest course catalog, and whether the platform can run during the rebuild, so the recovery plan does not depend on a snapshot alone.
Log access and review it
Enable request logging on the search server where the product offers it, and forward those logs to the same place as your LMS and Studio logs. Review who holds API keys, which services still use old keys, and whether any admin key exists outside the secrets store. Repeat the review on a fixed schedule and after every change to the indexing pipeline.
Patch the search server on a schedule
Track security releases for the chosen search server and the client libraries that Open edX uses to call it. Test each upgrade on a staging copy of the index first, because a server upgrade can change the query or index format and require a reindex. Confirm the upgrade path with the vendor for your version and record the rollback steps before you apply it to production.
Questions teams ask before they build Open edX search
Can we run Open edX search ourselves, or do we need a partner?
Yes, your team can run it if it already operates Docker or Kubernetes and has an owner for the search server after launch. The edx-platform maintainers recommend running Open edX in production through a service provider or with Tutor, and search is one more service inside that setup. The work has three parts: deploying the search server in your infrastructure, connecting the platform to it through configuration, and running rebuilds and monitoring afterward. A partner is most useful for the steps your team has not done before, such as a first full reindex of a large catalog or a backend change during an upgrade. Ask any partner to put the scope in writing, including who handles the search server after handover. Start with the Tutor documentation to see how plugins fit your setup.
What drives the cost of an Open edX search setup?
Cost comes from three places: people, infrastructure and recurring operations. People are the largest one-time item, since platform engineers deploy the search server, set the platform configuration, test indexing and document the runbook. Infrastructure covers the servers or containers that host the search backend, and it grows with the size of your catalog, the number of nodes you need for high availability and the storage for the index. Recurring costs include hosting, monitoring, rebuild capacity and the testing each platform upgrade requires. No public price applies to your installation, so ask for a quote that itemizes labor, one-time setup, infrastructure you will provision and the ongoing support you expect after launch. Ask which items you would pay for again each year and which are one-time.
How long do setup and reindexing take on our platform?
No single duration applies to every installation, because reindex time depends on how many courses you have, how much content each course holds, the sizing of the search server, network speed and how much other load the platform carries during the job. The practical way to answer the question is to measure on a staging copy of production content. Build the search server at the size you plan to run, run a full reindex, and record the elapsed time and any errors. Repeat the test after any large content import. Ask any vendor or partner for the measured reindex time on a catalog similar to yours, and ask them to show the command or procedure they used. Plan the production rebuild for a maintenance window, since learners may see stale or missing results until it finishes.
What does Open edX search need from our internal team?
The team needs skills in four areas. Someone must operate Tutor and the container platform under it, including upgrades, configuration files and secrets. Someone must handle networking for the search server, including DNS, TLS certificates and firewall rules between the platform and the search backend. Someone must own monitoring and alerts, so a failed index or a full disk is noticed before learners report it. Finally, a content or product owner should decide what course teams can expect from search, such as which fields are indexed and how results are ordered. Name these owners before the build starts. If your team lacks one of these skills, decide whether to train someone, hire, or buy that part of the work as a fixed-scope task with written deliverables.
Which search backend should we pick when uptime matters?
Choose the backend from your availability requirement. When uptime matters, evaluate Typesense first, since it is the option to consider when high availability is a requirement. Before you commit, check the server version that your Open edX release requires, because the server version affects how you build the cluster and when you can roll it out. The Verawood release notes are the place to confirm current requirements for the release you plan to run. Meilisearch remains the simpler choice where a single search node meets your requirement. Before you select Typesense, list every search feature your courses depend on and confirm each one works with it. Record the decision and the reason in the project file so the next team can see why it was made.
What happens to search during an Open edX upgrade?
Search can return stale or empty results during an upgrade if the index format changes, the backend version changes or the platform cannot reach the search server while it restarts. Open edX supports only its latest named release, so upgrades are a planned routine, not an occasional event. Test the upgrade on a staging copy that uses production-sized content. Check that the search backend version works with the new release, schedule the reindex inside the maintenance window, and confirm that learners can still open course pages while search rebuilds. Keep a record of the configuration and the exact commands used, so the rollback path is clear if the upgrade fails. Ask your partner or internal team to document every change that affects search.
Do we need to back up the Open edX search index?
The index is derived from course content that lives in the platform's own databases, so losing it does not lose course data. The backup question is therefore about recovery speed. If learners and course teams can wait for a full rebuild, back up the search configuration, the deployment files and the runbook, and time the rebuild on staging. If search must return results during an incident, take snapshots of the search server data on a schedule and test restoring one to a separate environment. Confirm the snapshot and restore procedure in the documentation for your chosen backend and version before you rely on it. Include the search server in your normal backup inventory, and record who is responsible for each restore step.
Limits to confirm before you commit to a search backend
Each item below is a question to settle with the vendor, the release notes or a test environment before you choose Meilisearch or Typesense. Together they decide whether the backend fits your release plan, your availability target and the hardware you can afford to run.
Typesense server version for Verawood
Confirm the minimum Typesense server version that the Verawood release requires for search, and whether your current Typesense deployment meets it. Check this against the Verawood release notes before you pick Typesense, because a server older than the requirement can block the upgrade. Ask whether the requirement applies to every search index or only to certain features, and test the exact version in a staging environment that mirrors production.
Verawood release notesFeatures that still need Meilisearch
Ask which search features in your planned release work only on Meilisearch, since a Typesense choice can leave some capabilities unavailable. Build a list of the features your course teams and learners will use, such as catalog search, course content search and filtering, and test each one on the backend you choose. Record any gap as a known limit for the operations team.
High availability support of the chosen backend
Confirm whether the backend you choose supports the high availability design your organization needs, including replicas, failover and how a node loss affects indexing and queries. Ask the vendor or check the official documentation for the clustering model, and do not assume that a single search node meets an availability target. Write down the recovery steps and test them with a node taken offline.
Reindex behavior at release changes
Find out whether a new Open edX release requires a full reindex, a partial reindex or no reindex, and how long the process takes at your content volume. Ask whether an index created by one backend version stays usable after a server upgrade, because that decides your upgrade window. Plan the reindex as a tested step in staging, and confirm that learners can still reach courses while it runs.
Resource needs at your content volume
Measure the memory, CPU and disk the search server needs for your course count, unit count and expected query load, rather than copying figures from another deployment. Ask the vendor for sizing guidance for your data volume, then confirm it with a load test that includes indexing bursts during course publishing. Include the cost of running extra replicas in your infrastructure budget.
How DeployOpen scopes and delivers Open edX search
DeployOpen treats the Open edX search backend as a scoped piece of work inside your own infrastructure, not an afterthought to the platform build. The engagement starts with the search requirements, then covers the backend choice between Meilisearch and Typesense, deployment, indexing checks and handover to your operations team.
How we scope
- Written scope names the Open edX release, the search backend choice and the reasons behind it.
- Scope lists which search surfaces learners and course teams use, and which must keep working during an outage.
- Scope confirms the hosting model, cluster topology and any high availability target before build starts.
How we build
- We deploy the chosen search server next to the Open edX stack in your cloud accounts or data centers.
- We configure the Open edX search settings and verify indexing of courses through the Studio and LMS paths.
- We test reindexing, search results after course publishing and the behavior when the search server is unavailable.
How we hand over
- Deliverables include the deployment configuration, the search settings used and a runbook for index rebuilds.
- Documentation records the backend version, the Typesense 30 server requirement where it applies and any Meilisearch dependencies.
- Your team receives a walkthrough covering monitoring, backup of search data and steps to follow when an upgrade changes the backend.
How we support
- Engagements are fixed-scope, so scope, deliverables and timelines are agreed in writing before work starts.
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- Before a major Open edX release, we can review search configuration against that release's notes and plan the upgrade.

