Separating indexing and search workloads in OpenSearch: when it pays off
Heavy ingestion and bursty query traffic compete for the same data nodes in many OpenSearch clusters, and the usual symptom is that a log spike slows dashboards or a busy dashboard slows indexing. In a remote-store cluster with segment replication, the search node role and search replicas can separate those two workloads, so query capacity scales on dedicated hardware while the primaries keep absorbing writes. The decision is structural, so it has to be made before the cluster is built: remote-backed storage and segment replication are set at cluster bootstrap, and a cluster that lacks them cannot adopt search replicas later without a rebuild.
Teams usually need this when read and write load peak at different times or grow at different rates. A common case is a log platform where ingestion runs steadily but analysts run heavy aggregations during incidents, or a product search index where a reindex or a traffic surge should not degrade query latency. Confirm with your own workload data whether the pressure is really on query capacity, because adding search nodes does not help if the bottleneck is disk throughput on the primaries or the cluster manager. Search replicas serve queries only and cannot be promoted to primaries, so they add read capacity and fault tolerance for search, not a way to rescue a failed indexing tier.
Separation is not worth the added moving parts when one cluster comfortably handles both loads, when the team cannot operate remote storage and a separate node tier, or when the data is small enough that ordinary replicas already give enough read capacity. Each search node is more hardware to size, patch, monitor and pay for, and the remote store becomes a dependency that must be backed up and tested like any other critical system. Before you commit, ask for a written design that names the node roles, the remote repository, the replica counts and the scaling triggers, and confirm with the vendor documentation in the separate index and search workloads guide that your target version supports the configuration you plan.
How indexing, search replicas and search nodes connect
The diagram starts with clients: writes go to the indexing path on data nodes that hold primary shards, while queries go to the search path on search nodes that host search replicas. Search replicas receive segments from the primaries and serve queries only, so they never take a primary role. Remote storage sits underneath both paths as the shared durability layer. When you review a design, check which nodes carry which role and that the search path has no write responsibility.
Indexing and search paths share remote storage for durability.
How search nodes and search replicas split the work
In a remote-store cluster with segment replication, the search node role and search replicas are what separate indexing from search. Indexing writes continue to land on primary shards on the data side of the cluster, while query traffic can be routed to search replicas on dedicated search nodes. A search replica serves queries only and cannot be promoted to a primary, so the indexing path never depends on search hardware to keep accepting writes. Before you size anything, confirm with your OpenSearch version's documentation that your cluster was bootstrapped with remote-backed storage and segment replication, because these prerequisites are set at cluster creation and are not something you can add later with a configuration change.
Failover planning changes in a specific way. If a data node holding a primary shard fails, the cluster promotes an eligible copy on the data side, and that is the path your write availability depends on. If a search node fails, queries served from it are lost until the node returns or the cluster reallocates capacity, but no primary is affected. Your runbooks should therefore treat search node loss as a read capacity event and data node loss as a write and durability event, with different alert thresholds and different owners. Ask your vendor or your own test results to show how long query latency stays acceptable on the remaining search nodes at your peak load.
For planning where query load lands, think in terms of which nodes answer requests rather than which nodes hold data. Coordinating nodes route queries, and search replicas handle the read work assigned to them, so an unplanned spike in dashboards or application searches will consume search node capacity and leave indexing headroom on the data nodes untouched. Test this with a representative query mix and an indexing rate that matches your production profile, and record the results. The OpenSearch cluster sizing guide is a useful starting point for the node roles involved, but the numbers that matter for your workload must come from your own tests.
Options for separating indexing and search workloads in OpenSearch
This table compares three topologies, from one mixed cluster to a remote-store cluster with dedicated search nodes. Read each column against your own query load, failure tolerance and operating capacity, since each step up isolates more but adds more to run. The main takeaway is that the dedicated search node option depends on prerequisites that cannot be added later, so decide before the cluster is built.
| Topology | Fits this workload | Isolates | Adds to operate | Prerequisite |
|---|---|---|---|---|
| Single mixed cluster, no separation | Modest query and indexing load that peaks at similar times, with one team owning the cluster | Nothing at the workload level; heavy queries and bulk indexing compete for the same heap, threads and disk | The fewest moving parts, with one node role layout and one scaling plan | None beyond a standard cluster; confirm node roles and shard layout against the cluster docs |
| Remote-store cluster with search replicas on existing data nodes | Read-heavy use where query volume grows faster than indexing, and the team wants more copies to serve queries | Query traffic can be routed to replica copies, so reads do not always land on the primary that is indexing | Segment replication settings, remote store monitoring and checks that search replicas are placed and promoted as expected | A remote-store cluster with segment replication, chosen at bootstrap; search replicas serve queries only and cannot become primaries |
| Remote-store cluster with dedicated search nodes | Large or spiky query load that must scale independently of indexing, or strict isolation between ingest and user-facing search | Indexing and search run on separate hardware, so a query surge or a heavy search node failure has less effect on ingest | Separate node pool sizing, search role placement, capacity planning for each pool and more failure cases to test | A remote-store cluster with segment replication, chosen at bootstrap, plus the search node role; confirm the version and setup steps in the official docs |
How to add search nodes to a remote-store cluster
This sequence takes a remote-store cluster with segment replication from a confirmed starting point to a verified split, where search nodes serve queries from search replicas and indexing stays on primaries.
Confirm the cluster is a remote-store cluster
Before anything else, confirm the cluster was bootstrapped with remote-backed storage and segment replication enabled. Remote-backed storage is chosen at cluster bootstrap, so a cluster that was built without it cannot gain search nodes through a simple configuration change. Check the cluster settings and node attributes that the official docs list for the version in use, and record the exact repository and attribute names. Done means you have a written record of the bootstrap configuration and a clear yes or no on whether a search-capable topology is possible. If the answer is no, the remaining steps become a migration project and need a separate plan.
Define the search node role and hardware profile
Decide what the search nodes are for and size them separately from indexing nodes. Search nodes hold search replicas, so their memory, disk cache and network needs follow the query load and the number of replicas, not the write rate. Agree the node count, the zones they span and the attributes used for shard allocation with the team that owns indexing. Confirm the search node role name and any required settings in the docs for your version. Done means a signed-off profile that lists CPU, memory, disk, network and count per search node, plus the reason each number was chosen.
Add search nodes and confirm they join
Start the search nodes with the search node role and the configuration your version requires, then let them join the existing cluster. Use the cluster health and node listing API calls from the official docs to confirm each new node appears with the search role and the expected attributes. Watch the cluster manager logs for join errors and confirm no indexing node was reconfigured by mistake. Done means every search node is listed as joined, the cluster status is stable, and the node roles match the profile from the previous step.
Configure index settings that create search replicas
Set the number of search replicas on the indexes that should serve queries from the search tier. Apply the change to a test index first, then to production indexes in batches so you can watch shard recovery and disk use. Confirm the exact index setting names and the API calls in the official docs for the version in use before you run anything. Done means the target indexes report the configured search replica count and the shards reach a healthy state without unassigned copies.
Verify replica placement and allocation
Check that search replicas sit only on search nodes and that primaries remain on indexing nodes. Use the shard allocation view to list each shard copy with its node and role, and confirm the zone attributes spread copies as designed. If awareness rules are in use, confirm they do not block allocation. Done means a saved report that shows every primary on an indexing node and every search replica on a search node, with no unassigned shards.
Verify queries reach search replicas and writes stay on primaries
Run a controlled test that proves the split works in practice. Send a known set of search requests and confirm, through the node stats or search metrics your version exposes, that query work lands on search nodes. Send a known set of index requests and confirm the write path stays on primary shards on indexing nodes. Stop one search node in a test window and confirm queries continue to succeed and indexing is unaffected. Done means recorded results for each check, with the exact metrics and API calls named in the docs for your version.
Document the operating baseline
Record the final topology, node counts, attribute names, index settings, alert thresholds and the test results from the previous steps. Include the runbook for adding a search node, removing one and recovering from a failed search node. Ask the vendor or your DeployOpen contact to confirm that the procedures match the release you run, and schedule the same checks after each upgrade. Done means a reviewed document that an operator who did not build the system can follow, and a dated sign-off from the owners of indexing and search.
Access control and operations for search nodes
Search nodes add a new trust boundary, a new query path and a new set of machines to patch and watch. The cards below cover the parallel decisions that keep those nodes as controlled as the indexing tier. Plan them together before the first search node joins the cluster.
TLS and node trust for search nodes
Each search node joins the cluster over the same transport layer as data nodes, so it needs a certificate issued by the cluster's trust chain and TLS enabled for node-to-node traffic. Confirm how new nodes receive certificates in your environment, who issues them, and how a node with a compromised key is removed from the trust chain. Check that certificate rotation covers search nodes on the same schedule as the rest of the cluster.
Security plugin docsRole-based access for search traffic
Queries sent to search replicas should be governed by the same roles, document-level and field-level security, and field masking rules that apply to queries on data nodes. Do not assume that routing reads to a new node type changes who may read which indices. Test a restricted user's queries against both paths and confirm that the results match.
Audit logging of query activity
Enable audit logging for read activity, not only writes, so that searches against sensitive indices leave a trail. Decide where the audit records are stored, who can read them, and how long they are kept under your retention policy. Confirm which audit categories your version records for search requests before relying on them in an investigation.
Remote storage credentials and scope
In a remote-store cluster, the nodes that read segments from remote storage need credentials for the repository. Scope those credentials to the single bucket or path the cluster uses, and avoid sharing the indexing tier's write-capable keys with search nodes if read access is enough. Ask who rotates these credentials and how a rotation is rolled out without a search outage.
Health monitoring for search nodes
Track search node health, query latency and resource use as a separate set of signals from data node indexing metrics. A search tier under heavy query load can look healthy from the indexing side while latency rises for users. Set alerts on search node availability and on how far search replicas lag behind the primaries they follow.
Patch planning across node roles
Cluster managers, data nodes, ingest and coordinating nodes, and search nodes may each need patches on a different schedule. Plan the order of upgrades so that search nodes do not run a version the rest of the cluster cannot read, and confirm the supported version range for mixed roles before each maintenance window. Keep a written runbook for patch rollback.
Separate workloads docsWhere separation adds cost and complexity
Separating indexing and search is not free. In a remote-store cluster with segment replication, the search node role and search replicas add node roles that you must size, patch, monitor and secure on top of the cluster manager, data, ingest and coordinating roles you already run. Each extra role is another place where a capacity mistake or a missed upgrade can degrade search. Ask your team to confirm how many search nodes the workload needs, how they are placed across zones, and who owns their patching cycle, because the search tier will not scale or recover on its own.
The hardest constraint is at bootstrap. Remote-backed storage and segment replication must be enabled when the cluster is created, so an existing document-replication cluster cannot simply gain search replicas later. Confirm this against the current OpenSearch documentation on separating index and search workloads before you commit to a design, and plan the migration path if you are moving from an existing cluster. Also validate that search results stay current enough for the application: search replicas trail the primary, so define the acceptable freshness window with the product owners and test it under peak indexing load, not only in a quiet lab.
Failure isolation works in practice because search replicas serve queries only and cannot be promoted to primaries. If search nodes fail or are overloaded, indexing continues on the primaries and the write path is not blocked by query load. That protection has limits. A bad index mapping, a faulty ingest pipeline or an incorrect field type is written to the primary and copied to every replica, including search replicas, so the damage reaches all copies. Similarly, a misconfigured role, an expensive query pattern that overwhelms the coordinating tier or a cluster-wide setting error can still break search. Plan mapping review, ingest testing and restore drills as separate controls, because separation alone will not recover data or correct a bad schema.
Limits to confirm before you design around them
The search node and search replica model depends on version, storage mode and bootstrap choices that are hard to change later. Confirm each item below in the docs or with the vendor before you commit a topology, so the design reflects what your chosen version actually supports.
Version support for search nodes
Confirm that the OpenSearch version you plan to run supports the search node role and search replicas in the way your design assumes. Check the release notes for the minor version you target, since the OpenSearch releases page lists the current versions and their maintenance status. Do not assume a feature in one minor version carries over to the one you deploy.
Releases pageBootstrap-only storage choices
Confirm whether remote-backed storage and segment replication can be enabled only when the cluster is created in your chosen version. If they cannot be switched on later, a cluster built without them will need a new build and a data move. Write this decision into the bootstrap checklist before any node is provisioned.
Index features on search replicas
Confirm which index features, queries and plugins work on search replicas, which serve queries only and cannot be promoted to primaries. Test your real query set and any plugin-backed search features against a non-production cluster. A feature that works on primary shards may not behave the same way on a search replica.
Cluster manager placement with new roles
Confirm how the cluster manager role should be placed when search nodes join the cluster. The OpenSearch cluster docs recommend dedicated cluster manager nodes, so check that your quorum stays on dedicated nodes and that search nodes do not take cluster manager duties. Plan the node count and roles together before sizing hardware.
Cross-zone latency for search
Confirm how placing search nodes and their data in different zones affects query latency and cross-zone traffic in your network. Shard allocation awareness helps availability, but it can also spread query work across zones. Measure response times with your own data and query mix before you pick a zone layout.
Upgrade path for the new topology
Confirm which upgrade method applies to a cluster that already uses search nodes or remote-backed storage. OpenSearch documents rolling upgrades, snapshot and restore, remote reindexing and Migration Assistant, and each has different limits. Ask the vendor or check the upgrade docs for your source and target versions before you commit to a path.
Upgrade docsQuestions teams ask before separating search from indexing
What does separating indexing and search workloads involve?
It means adding search nodes and search replicas to a cluster that uses remote-backed storage with segment replication, so queries run on hardware that does not handle indexing. The work covers confirming the cluster's storage and replication model, defining node roles and placement, sizing search capacity separately from indexing capacity, and testing query and ingest load together. Effort rises with the number of indices, the query patterns, the size of the existing cluster, and how many environments must be rebuilt and tested. Ask any partner to list each environment, node role and test in the written scope.
Can our own team separate search from indexing without outside help?
A team that already runs OpenSearch in production and has clear ownership of cluster configuration can usually do it, but the prerequisites are the hard part. The OpenSearch documentation describes search replicas as part of a remote-store cluster with segment replication, so the cluster must be built that way from the start. Your team needs experience with node roles, shard allocation, host capacity and load testing, and someone must own the rollback plan. If those skills are thin, a fixed-scope engagement can cover design, build and handover while your staff learn the operating model.
Can an existing OpenSearch cluster be converted, or must it be rebuilt?
The answer depends on how the current cluster stores data and replicates shards. The topic documentation ties search replicas to a remote-store cluster with segment replication, and the remote-backed storage and segment replication choices are normally made when a cluster is bootstrapped. A cluster that lacks these settings may need a new cluster and a migration of data, which is a larger project than adding nodes. Confirm the current version, storage configuration and replication settings against the OpenSearch documentation before deciding between conversion and a new build.
What does the work need from our staff?
Plan for time from platform engineers, search owners and whoever runs your cloud or data center capacity. Platform engineers need to review node roles, host sizing and network paths. Search owners need to describe query volume, latency targets and which indices are read most often. Security staff must review access to any new nodes and repository credentials. Expect some time from application teams for query testing. Ask a partner to name the roles needed and the hours each role must give in the written scope.
How does failure isolation change incident response?
When search replicas run on their own nodes, an indexing problem such as a bulk ingest spike or a merge backlog no longer slows queries in the same way, and a search node failure does not take down the primaries that accept writes. Incident response changes accordingly: on-call staff need to know which node role is affected, check remote-store health and replication lag, and decide whether to scale search or pause ingest. Runbooks should separate indexing alerts from search alerts, and drills should cover losing a search node during peak query load.
What drives the cost of separating search from indexing?
Costs fall into one-time design, build and testing work, and recurring infrastructure for the extra search capacity and storage. The largest one-time drivers are the cluster's size, the number of environments, the complexity of access controls and the amount of load testing needed. Recurring costs depend on how many search replicas you run, the compute and storage they consume, and the support model after handover. Ask any quote to separate these categories and to state which infrastructure costs are yours and which are the partner's labor.
What should we ask a partner for in a written scope?
Ask for the current cluster assessment, the target node roles and topology, the storage and replication prerequisites, the step-by-step build sequence, the rollback plan, and the load and failure tests with pass criteria. Ask who signs off each stage, what documentation and runbooks you receive, and how knowledge transfer happens. The scope should also name the OpenSearch version, the deployment method and any items that depend on your infrastructure, such as network paths and host provisioning. Confirm the support and retest arrangements in writing before work starts.
How DeployOpen scopes and delivers search and indexing separation
DeployOpen plans, implements, tests, documents and supports self-hosted OpenSearch inside your own infrastructure, so the split between indexing and search nodes is designed against your query load, data retention and failure requirements before any hardware is ordered. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- Confirm whether the cluster is on a remote-store setup with segment replication, since search replicas depend on both.
- Map which indices need dedicated search capacity and which can stay on shared data nodes.
- Record the failure scenarios the split must survive, such as search node loss, indexing spikes and zone outages.
How we build
- Size and deploy dedicated search nodes and search replicas in your infrastructure, with node roles and allocation rules set explicitly.
- Configure access controls so search nodes and their traffic follow the same identity and TLS policy as the rest of the cluster.
- Test indexing and query load separately, and confirm that search replicas keep serving queries when indexing nodes are under stress.
How we hand over
- Deliver the written architecture, node role layout, configuration files and runbooks for adding or removing search capacity.
- Document the prerequisites, including the bootstrap-time choice of remote-backed storage, so future changes do not require a rebuild.
- Walk your platform and operations team through failure tests and the steps to verify replica health after a node loss.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after handover.
- Review cluster health, shard placement and search latency as data volumes and query demand change.
- Retest the configuration after OpenSearch version upgrades, since maintenance releases can change how roles and replicas behave.

