When an OpenMetadata search index is stale and needs a reindex
Reindex when search results disagree with the entity pages. Typical signs are asset counts in search that differ from what the catalog shows, assets or lineage that appear on an entity page but not in search results, or search that still reflects old names or owners after an upgrade, a failed ingestion or a database restore. In OpenMetadata, the search index is a separate copy of your metadata, held in Elasticsearch 9.x or OpenSearch 3.x, that serves search, filters and some lineage views. A reindex rebuilds that copy from the metadata database. The database remains the record to check against, so before you reindex, confirm the discrepancy by opening the entity itself and comparing it with the search result for the same asset.
Plan for a reindex in four common situations: after an OpenMetadata upgrade, after ingestions that failed partway through, after restoring the metadata database from a backup, and after you change search configuration such as the search cluster, its version or its index settings. Each of these can leave the index behind the database. Upgrades deserve the most planning, because a new release can change how documents are mapped and may require a full rebuild before search behaves correctly. Confirm with the OpenMetadata release notes for your target version whether a reindex is required, which trigger the release supports (the user interface, the API or a server-side job), and which options it offers for scope and timing. The exact procedure varies by version, so treat any command or setting you find in older guides as a starting point to verify, not a recipe.
Before you start, record the current search cluster version, the OpenMetadata version and the state of the metadata database, and take a database backup. Confirm that the search cluster has enough free storage for a second copy of the indices while the rebuild runs, and check that no ingestion pipelines are scheduled to run during the rebuild window. After the reindex, compare a sample of assets, counts and lineage paths between search and the entity pages. Ask your vendor or DeployOpen to estimate rebuild time from your catalog size and cluster capacity, since the supplied facts do not give a duration for this step.
Symptoms that point to a stale index rather than bad source metadata
A stale search index and a failed ingestion can look identical from a search box. The four symptoms below each have a first check that separates index drift from missing source metadata, failed ingestion or permission gaps before anyone starts a reindex.
Search counts differ from entity pages
Compare the number of tables, dashboards or pipelines shown in a search facet or result count with the count you see when you browse the same service on its detail page. If the database view is correct and search lags, the index has drifted. Before reindexing, confirm the last ingestion for that service succeeded, because a failed run also leaves counts behind. Check the entity page first, then the ingestion run history.
Assets missing from search only
An asset that opens directly by URL, appears on its service page and shows its columns, but never returns from a search query points to the search index rather than the catalog. Search for the exact fully qualified name to rule out a typo or a filter left on. Then re-run ingestion for that source, since a successful run that still leaves the asset unsearchable usually means the index needs attention. A missing asset that the user cannot see on the service page may be a permission gap instead.
Lineage and glossary links absent from search
Lineage edges and glossary terms that display on an entity page but do not affect search results, such as a filter by glossary term returning nothing, suggest the relationship was indexed before it was saved. Open the entity, confirm the lineage graph or term is present, then search by the related term. Re-run lineage ingestion for the source that produced the edge before triggering a full reindex, so you know whether the gap came from extraction or from indexing.
Owners and tags lag behind edits
After a steward changes an owner, tag or description, the entity page shows the new value while search results still show the old one. Edit the field, open the entity page to confirm the save, then search for the asset by the new value. If the old value persists in results after a short wait, the index is behind the database. Do not conclude the source is wrong, because the source system may still hold the old value and ingestion can overwrite a manual edit depending on your configuration.
Permission gaps mimic index drift
A user who sees fewer results than an administrator may be blocked by policy rather than by a stale index. Run the same search with an administrator account and with the affected user account, then compare. If only the affected user misses results, review roles and policies before touching the index. This separation matters because a reindex will not fix a policy that hides assets from a team.
The database is the source of truth, and the search index is a copy
The diagram starts with ingestion workflows and users writing through the OpenMetadata server into its relational database, which holds the authoritative record of every entity. The server then writes copies of entities into the search index, and the UI and API read from that index for search results and counts. A reindex rebuilds the index from the database, so when counts, assets or lineage look wrong in search, check the index against the database before assuming the metadata itself is missing.
Entities are stored in the database and copied into the search index, which a reindex rebuilds.
Reindex options and when each one fits
This table compares the reindex approaches you can choose from, including a full rebuild, a targeted rebuild of selected entity types, and a rebuild run as part of an upgrade or maintenance window. Read each row against your symptoms and your tolerance for degraded search, and confirm the exact option names in the release docs for your installed version before you run anything.
| Approach | Scope and when it fits | What it touches and search impact | What to verify afterward |
|---|---|---|---|
| Full rebuild of all entity indexes | Wrong counts or missing assets across many entity types, or after a search backend change. Fits when you cannot isolate the cause. | Rebuilds every search index from database records. Search results may be incomplete or slower while the rebuild runs. Confirm whether your version keeps the old index serving until the new one is ready. | Compare asset counts per entity type with the database, spot-check known assets, and confirm lineage graphs load for key tables. |
| Targeted rebuild of selected entity types | Problems confined to one type, such as tables, dashboards or pipelines. Fits when recent ingestion fills one type and others look correct. | Rebuilds only the chosen indexes, so impact is narrower. Other entity types keep serving normal results. Confirm the supported entity selection in your release docs. | Check counts for the rebuilt type and one related type, and confirm search filters and ownership fields return expected values. |
| Rebuild as part of an upgrade or maintenance window | Planned upgrades, search cluster version changes or mapping changes. Fits when you already expect search to be unavailable or unreliable. | Combined with the upgrade procedure, so schedule and rollback sit in one plan. Expect the longest degraded period here. Confirm which steps the upgrade notes require before the reindex. | Record the time taken on a non-production copy, run the post-upgrade search checks, and keep the rollback point until results match the source. |
| Rebuild from a restored database copy | Recovery after a failed change, or validating a backup. Fits when the live database itself may be the problem. | Rebuilds the index from the restored data, so the live system is not changed. Search on the restored copy is the only one affected. Confirm restore steps with your backup procedure. | Compare restored asset and lineage counts with the source snapshot, then decide whether the live database needs correction before reindexing it. |
| Fix the source and re-ingest instead of rebuilding | Wrong metadata caused by a failed or partial ingestion run. Fits when the search index is correct for what the database holds. | Changes database records through ingestion, then updates search. Search only reflects the fix after the next indexing step. Confirm that ingestion writes trigger index updates in your version. | Check the ingestion run logs, confirm the entity in the database, then confirm the search result matches the database value. |
How to run a reindex safely, step by step
This sequence confirms the platform is in a supported state, protects the metadata database, checks search capacity, and proves the rebuilt index matches the catalog before users rely on it again. Each step closes with a pass or fail check so the team knows whether to continue.
Confirm OpenMetadata and search engine versions
The platform engineer records the installed OpenMetadata version and the search engine version, then compares both with the bare metal prerequisites: Java 21, MySQL 8.0.42 or later or PostgreSQL 15 or later for the database, and Elasticsearch 9.x or OpenSearch 3.x for search. Check the release notes for the running version before starting, especially if an upgrade is recent. The check passes when both versions appear on the supported list and the team has written them into the change ticket. If either version is outside the list, stop and resolve the mismatch first.
Take a verified database backup first
Before touching the index, the operations owner takes a full backup of the OpenMetadata metadata database and stores it outside the host running the reindex. Reindexing rebuilds search from the database, so the database is the record you must be able to restore. Follow the procedure in the backup and restore topic for your database engine, and do not rely on commands from memory. The check passes when the backup completes without errors, the file or snapshot is readable, and someone has confirmed it can be restored into a clean database at the same version.
Check search cluster health and capacity
The platform team checks the search cluster status, node availability and free disk on the search service. The documented minimum for the search service is 2 vCPUs, 2 GB RAM and 30 GB storage, so confirm each figure on the host or node and record the actual values. Ask the search team to confirm there is enough free disk for a second copy of the index while the rebuild runs, since the exact requirement depends on catalog size and should be confirmed in your environment. The check passes when the cluster reports healthy, no node is missing, and free disk and memory are above the documented minimums with headroom. Otherwise, defer the reindex.
Schedule the window and inform users
The platform owner picks a window when ingestion jobs are paused and few people are searching the catalog, then notifies data owners, stewards and the teams that depend on search or the API. Explain that search results, counts and lineage views may be incomplete or slow during the rebuild. Confirm with ingestion owners that no scheduled pipelines will start during the window. The check passes when the notice has been sent, the ingestion schedule shows no runs in the window, and the on-call contact is named in the change ticket.
Run the reindex and watch progress
The administrator starts the reindex using the method documented for the installed version and watches the server logs and search cluster status while it runs. Watch for repeated errors, memory pressure, or a search cluster that turns yellow or red. Record the start and end time in the change ticket. The check passes when the job reports completion without unresolved errors and the cluster returns to a healthy state. If the job fails or stalls, stop, keep the backup and logs, and investigate before retrying.
Verify counts for a sample of entity types
The catalog owner compares entity counts in the user interface or API with the counts in the database for a sample of entity types, such as tables, dashboards, pipelines, glossary terms and domains. Differences are expected only where recent ingestion or deletions happened after the database snapshot, so note the time of the last successful ingestion for each type. The check passes when the counts match for each sampled type or the gap is explained by a known recent change. A mismatch that cannot be explained means the index is not ready for users.
Open known assets and their lineage
A data steward opens a short list of assets they know well, including a table, a dashboard and a pipeline with upstream and downstream lineage, and searches for each by name and by a column or glossary term. Confirm each asset appears in search, its owner and tags are correct, and its lineage graph shows the expected upstream and downstream nodes. The check passes when every known asset is found and its lineage matches the source of truth. Log any gaps, then decide with the platform owner whether to rerun ingestion or reindex again before reopening access.
Planning reindex time after an OpenMetadata upgrade
No reindex duration has been published for OpenMetadata, so the only reliable number is the one you measure yourself. Before the production upgrade, restore a copy of the production database into a staging environment of similar size, point it at a search cluster sized like production, and run the reindex end to end. Record elapsed time per entity type (tables, columns, dashboards, pipelines, lineage and any other indexed entities) so you can see which part dominates. Confirm with the release notes for your target version whether a reindex is required after the upgrade at all, since that single answer can remove most of the window. Ask the vendor or Collate to state the reindex behavior for your exact version rather than assuming it from earlier releases.
Several drivers push the duration up, and each one should be controlled before the window is booked. Total asset and lineage volume matters most, because the reindex reads every entity again. Search cluster sizing and disk throughput set how fast documents can be written, so check that the Elasticsearch 9.x or OpenSearch 3.x nodes have the resources your staging run used. The server should be at or above the stated minimum of 2 vCPUs and 4 GB RAM, and running it on the minimum leaves little headroom. Concurrent ingestion is the most avoidable driver: pause scheduled pipelines during the reindex so that metadata writes do not compete with the rebuild.
Plan the upgrade work as one window, not as separate tasks. The 2.0 breaking changes add real work that runs alongside the reindex: moving embedding credentials into an llmConfiguration block, adopting the new Databricks auth format, rebuilding custom ingestion images for Python 3.12, and migrating Great Expectations to 1.3 before the upgrade. Each of these can fail and force a restart of the upgrade sequence, so test them in staging first and count their time against the same change window. Record the staging timings, add a margin you can justify from your own runs, and agree the rollback point in writing before the production date.
How the reindex differs on Docker, bare metal and Kubernetes
The deployment docs describe Docker for local trials, so the search service and the OpenMetadata server usually share one machine and start from one set of container definitions. A reindex on a trial is simple to start and watch, but the rebuild competes with everything else on that machine for memory and disk.
- Where it runs: Both containers run on one host, usually defined in a single compose file. Confirm the service names and published ports in the file your version ships.
- Who can reach search: By default, the host and other containers on the same Docker network can reach the search endpoint. Publishing the search port to the host widens access, so check the port mapping before a run.
- How logs are read: Follow the server and search container logs during the rebuild using the container log commands for your runtime. Confirm the exact command for your version.
- Restart and pressure risk: Restarting a container mid-run can leave a partial index. Memory limits on the host or the container runtime can kill the search container, so confirm its memory allocation before starting.
Before you run the same steps anywhere else, check that the reindex trigger, the search port and the log commands match your version's Docker setup.
On bare metal, OpenMetadata runs as services you install on hosts you manage. The prerequisites are Java 21, MySQL 8.0.42 or later or PostgreSQL 15 or later, and Elasticsearch 9.x or OpenSearch 3.x. The search service is a separate process, so you decide where it listens, what can reach it and where its logs are kept.
- Where it runs: The server and search service run on hosts you provision. The documented minimum for the search service is 2 vCPUs, 2 GB RAM and 30 GB storage, and the server needs at least 2 vCPUs, 4 GB RAM and 20 GB storage.
- Who can reach search: Set the search listener address and host firewall rules so that only the OpenMetadata server host can reach the search port. Confirm the bind setting for your search product and version.
- How logs are read: Each service writes to its own log location on the host or to the system journal. Read them on the host or through your log shipper, and confirm the paths in your installation.
- Restart and pressure risk: Without a process supervisor, a reboot can stop a reindex with no clear record of progress. Watch disk space and JVM heap during the run, and confirm whether your version keeps the existing index until the new one is complete.
Before the first production reindex, confirm the listener address, the firewall rule and the log paths on a copy of the environment.
The deployment docs describe production Kubernetes deployments on AWS EKS, Azure AKS, Google GKE and on-premises clusters. Where the search service runs decides who can reach it: a deployment inside the cluster, a managed search service from a cloud provider, or a service in another environment. Pod lifecycle and node resources add risks that the Docker and bare metal models do not have.
- Where it runs: The server and any in-cluster search deployment run as pods, often in separate namespaces. A managed search service runs outside the cluster, and its logs and metrics come from the provider. Confirm which option your chart or manifests expect.
- Who can reach search: Network policies, service definitions and ingress rules control access. Restrict the search service to the OpenMetadata namespace and confirm that no ingress rule exposes it outside the cluster.
- How logs are read: Use pod logs for the server and search pods, and check cluster events for restarts and evictions. Managed services keep logs in their own console.
- Restart and node pressure risk: A pod restart or node eviction during a long rebuild can stop indexing partway through. Set memory requests and limits with headroom, and confirm whether the reindex job resumes or has to start again.
Before a production run, confirm the network policy, the log location and the restart behavior for the exact chart version you deploy.
Security and access during a reindex
The search index holds copies of catalog metadata, so it inherits the sensitivity of that metadata and needs the same access thinking as the database behind it. Asset names, column descriptions, glossary terms, owners, classifications and lineage can reveal how systems and personal data are organized, even when no table rows are copied. Treat the search endpoint as a data store, not as a disposable cache, and confirm who can reach it from each network segment that runs OpenMetadata servers, ingestion jobs and administrators' workstations.
Start by limiting who can trigger a reindex. A reindex rebuilds the index from the database and puts load on both services, so the permission to start one should sit with a small platform group, not with every administrator of the catalog. Confirm in your environment which OpenMetadata roles can reach the reindex operation and the related admin screens, and record which people hold them. On the search side, require TLS for client traffic and authenticated access to the endpoint. The OpenSearch Security plugin supports role-based access control, audit logs and TLS for node and client traffic, so if you choose OpenSearch, you can give the OpenMetadata connection its own role with only the index permissions it needs. Elasticsearch deployments need their own security configuration, including TLS and user roles, and you should confirm that configuration against the version you run before go-live.
OpenMetadata does not support combining SSO with basic authentication, so plan the reindex operator account and any service accounts against the authentication method you chose. If you run SSO, the human operator signs in through the identity provider, and automated jobs must use a method the platform supports for non-interactive access, such as a bot identity with a managed token. Confirm that method with the vendor before you design the runbook, and assign each account a named owner, a rotation process and a removal step for when staff change roles. Keep the audit trail of reindex runs and the search service logs under the same retention rules as the catalog database.
Limits to confirm in your environment before you reindex
A reindex rebuilds search state that your catalog depends on, so the risks sit in version pairing, concurrent activity and rollback. The cards below are questions to answer in a test environment with the vendor docs open, before any production run.
Which search engine major version pairs with your release?
OpenMetadata 2.0 lists Elasticsearch 9.x or OpenSearch 3.x as bare metal prerequisites, so check which engine and major version your deployment runs before planning the reindex. Confirm the pairing in the release notes for your exact OpenMetadata version, and confirm whether your Kubernetes or Docker chart pins a different engine image. Record the engine version in your change ticket so a rollback target is clear.
Bare metal prerequisitesCan ingestion keep running during the rebuild?
Ingestion writes new assets and lineage while a reindex reads from the database, so a run that overlaps a scheduled pipeline can leave the index missing recent changes. Test whether your reindex job blocks or tolerates concurrent ingestion in a copy of your environment. Pause Airflow or Kubernetes ingestion schedules for the window if the vendor docs do not confirm safe concurrency.
What users see while search is rebuilding
Search results, asset counts and lineage views can be partial or empty while the index is rebuilt, which affects analysts and stewards who rely on search during business hours. Measure in a test environment how long catalog search returns incomplete results and whether the UI shows an error or silently returns fewer assets. Share that window with data consumers before you start.
Whether Context Center and MCP depend on the index
OpenMetadata 2.0 replaced the Knowledge Center with the Context Center and enabled MCP by default, so features that search or expose metadata may read from the index. Confirm with the release notes whether these features need a rebuilt index after upgrade, or whether they read from the database. Test both features after a reindex in staging before you enable them for users.
2.0 release notesHow long old indexes survive for rollback
A reindex that fails partway or produces wrong results is easiest to reverse if the previous index still exists. Confirm in your search engine whether the old index is kept after the alias switch, and for how long your retention setting or cleanup job keeps it. Verify that a rollback restores counts and lineage before you rely on it, and check disk headroom for two copies of the index at once.
Questions teams ask before reindexing or hiring help
How much effort does a reindex take for a team that already runs OpenMetadata?
The effort depends less on the reindex command itself and more on how large the catalog is, how the search cluster is sized, and whether anyone has checked the result afterward. OpenMetadata's bare metal documentation lists minimum sizing for the server, database and search services, so a team can compare its current search node against those minimums before planning. Ask your own engineers to record the asset count in the catalog, the time the last reindex took, and whether searches and lineage views returned the expected results. Those three records make the next reindex predictable. No general duration is published here, so treat any figure you hear from a vendor or partner as something to confirm against your own catalog size.
Can we reindex OpenMetadata search without outside help?
Yes, a team with administrative access to the OpenMetadata server and its search service can usually run a reindex on its own, provided it has a tested backup and a rollback plan. The harder part is knowing when a reindex is the right fix and not a symptom of a deeper problem, such as a failed ingestion or a version mismatch between the server and its ingestion images. Your team should confirm the reindex procedure for its installed version in the official documentation before running it, and should check that the search service has enough disk and memory during the run. Outside help is most useful when the team lacks someone who has run the procedure before or when the catalog is business critical and cannot tolerate a bad search state for long.
What would a partner do during a reindex engagement, and what must we provide?
A partner would typically review the current deployment, confirm the OpenMetadata and search versions, check the backup state, run the reindex in a staging copy first, and compare search results and lineage before and after. For DeployOpen, the work sits inside your own infrastructure, so the client provides administrative access to the OpenMetadata and search environments, a staging copy that matches production as closely as practical, and a maintenance window agreed in advance. The client also provides the list of critical searches and lineage views that must return correct results, and a named contact who can approve the production run. Scope, deliverables and timing are agreed in writing before work starts.
How does upgrade planning change the effort of a reindex?
Upgrade planning usually adds the most effort, because the reindex may be part of a larger change set rather than a standalone task. OpenMetadata 2.0 includes breaking changes, including moving embedding credentials into an llmConfiguration block, a new Databricks auth format, rebuilding custom ingestion images for Python 3.12, and migrating Great Expectations to 1.3 before upgrading. Each of these affects what must be tested after the reindex, and custom ingestion images need rebuilding before any reindex can prove the search state is correct. Teams should read the 2.0 release notes, list their custom connectors and integrations, and decide whether the reindex runs before or after the upgrade in a staging copy first.
What drives the cost of a fixed-scope reindex or upgrade engagement, and what should a written quote include?
The main cost drivers are the number of environments, the size of the catalog, the number of custom connectors and integrations, the number of search checks to be verified, and whether an upgrade is included. Cost is one-time for the planning, testing and run, while ongoing support recurs if the client wants it. DeployOpen does not publish a price list, and a quote follows from the written scope. Ask for a quote that lists the environments covered, the versions in scope, the exact tests and checks to be performed, the client inputs and access required, the maintenance window assumptions, the deliverables such as a runbook and verification report, and what happens if the reindex fails and must be rolled back.
When does a support retainer make sense after a reindex?
A retainer makes sense when the catalog changes often, when new connectors or upgrades arrive on a regular cadence, or when the team lacks capacity to watch search health and respond to incidents. OpenMetadata maintenance releases have followed about every one to two weeks since the 2.0 release, so a team that plans to keep pace with patches will need recurring time for testing and upgrades. Ongoing support, upgrades and continuous testing are available as retainers from DeployOpen, and the decision depends on how much of that work your own team can absorb. Ask what response expectations and reporting would be included, and confirm them in writing before signing.
Which search problems point to a stale index rather than an ingestion failure?
A stale index usually shows up as correct assets in the database or API that do not appear in search, counts that disagree between the UI and the API, or lineage views that show older nodes than the metadata store holds. An ingestion failure tends to leave whole sources missing, with error messages in pipeline logs. Check both before reindexing: confirm that the asset exists through the API, then search for it in the UI, and review the most recent ingestion run status. If the asset is present in the API but absent from search, a reindex is a reasonable next step. If the asset is absent from the API too, fix the ingestion pipeline first, since a reindex will not recover metadata that was never written.
How DeployOpen scopes and delivers OpenMetadata search reindex work
DeployOpen treats a search reindex as a planned change to a running catalog, not a one-off command. We scope the work against your OpenMetadata version, search backend and catalog size, then build, test and document the procedure so your team can repeat it. Engagements are fixed-scope, with the written scope agreed before work starts.
How we scope
- Confirm your OpenMetadata version, search backend (Elasticsearch or OpenSearch) and deployment model before any change.
- Record which symptoms you see, such as wrong counts, missing assets or broken lineage, and which catalogs are affected.
- Agree in writing whether the scope covers diagnosis, a single reindex, upgrade-linked reindex planning or all three.
How we build
- Take a backup of the metadata database and confirm the search cluster has enough free storage before reindexing.
- Run the reindex in a non-production environment first, timing it against your catalog size and recording the result.
- Check counts, sample assets and lineage paths in search against the database before declaring the index current.
How we hand over
- Deliver a written runbook covering the trigger conditions, the reindex steps, rollback points and verification checks.
- Document the reindex duration measured in testing, so your team can plan maintenance windows with real figures.
- Walk your platform and data teams through the runbook and confirm they can repeat the procedure without us.
How we support
- Retainers cover upgrade-linked reindex planning, search health reviews and help with the next OpenMetadata release.
- Support can include re-verifying search after connector changes or large ingestion runs, as set out in the retainer scope.
- Ask for a quote based on the written scope, which should name the environments, the number of reindex cycles and the handover items.

