What is Magento OpenSearch?
Short answer Magento OpenSearch is a search-service integration used for catalog product discovery. Commerce builds searchable indexes while its database remains the source of application records. Match the engine to the exact Commerce release and deployment, then check both service health and actual storefront results.
- Choose a supported engine version 01
- Commerce connects to the intended service 02
- Indexing prepares searchable product data 03
- Search requests use those indexes 04
- Service health and shopper results are checked separately 05
Watch for this Choosing the newest version without a compatibility check
From catalog data to a storefront search result
The service, Commerce indexer and storefront integration have separate responsibilities. Understanding that boundary makes configuration and upgrade decisions easier to assess.
-
01
Choose a supported engine version
OpenSearch is a separate search service, not a PHP package. Match its version to the exact Commerce release and deployment type before provisioning or upgrading it. A newer OpenSearch release is not automatically a supported Commerce combination, and Cloud service availability can differ from on-premises requirements.
-
02
Commerce connects to the intended service
The catalog-search configuration identifies the engine, host, port, authentication and index prefix. A connection test checks reachability, not product relevance or index completeness. Keep the service private to the application network and use a distinct index prefix when environments share a search installation.
-
03
Indexing prepares searchable product data
Commerce builds a search representation of eligible catalog data. Its database still holds the application's product records; OpenSearch does not replace that source. Indexing and the chosen update mode determine when catalog changes become available to the search integration.
-
04
Search requests use those indexes
The storefront's search integration submits queries and uses returned matches in product discovery. Searchable attributes, language analysis, filters and extensions affect the result. OpenSearch having a vector-search feature does not mean the installed Magento search adapter uses it.
-
05
Service health and shopper results are checked separately
Check cluster and shard health, then test representative storefront queries and filters. Green cluster health means primary and replica shards are assigned; it does not prove that the right store data was indexed or that a particular query is relevant. Monitor indexing as well as query behavior.
When search-service decisions need attention
The supported engine and version come from the release requirements. These situations need a deliberate compatibility or acceptance check.
-
A supported standard catalog-search deployment
Use the search-engine choices documented for the store's exact Commerce version. This glossary explains OpenSearch's role; the release requirements decide the supported engine and version. Do not choose an old Elasticsearch or OpenSearch version solely because it starts successfully.
-
An application upgrade changes requirements
Plan search compatibility alongside the Commerce upgrade. Check the supported version, installed extensions, connection settings and index rebuild procedure in staging. A successful PHP deployment does not prove that the search service or its existing indexes are ready.
-
A catalog needs search relevance work
Language analysis, attribute configuration and the search implementation shape the query experience. Evaluate representative customer terms and expected products before changing settings. A large index or a healthy cluster does not by itself establish good ranking or useful filtering.
-
A managed or Cloud search service is considered
A hosting provider can operate the search process, while the store team still owns compatible configuration and storefront acceptance. Confirm the provider's supported versions, access model and recovery arrangements. Managed hosting does not make every cluster topology or extension combination equivalent.
Three search-service assumptions to avoid
Check compatibility, environment identity and shopper-visible behavior before making a configuration change.
-
Choosing the newest version without a compatibility check
Check the exact Commerce patch-level requirements and hosting guidance first. Search APIs, adapters and extension support can change independently. A version choice belongs in a tested upgrade plan, not in a blanket recommendation for every 2.4 installation.
-
Sharing an index prefix across environments
Two stores that address the same index namespace can interfere with one another's search data. Keep production and staging identifiers distinct, document the owning service and verify the active store scope before an indexing operation.
-
Treating a service check as a storefront test
A reachable endpoint can still serve an incomplete, stale or unintended index. Test actual search terms, product visibility and filters after a change. If a connection fails, follow a diagnostic procedure rather than disabling authentication or exposing the service publicly.
Magento OpenSearch: frequently asked questions
-
OpenSearch vs Elasticsearch: what changed and when?
OpenSearch began as a fork of Elasticsearch and is now supported by the OpenSearch Software Foundation. The products have continued to evolve separately. Commerce support depends on the exact release, patch and hosting platform; shared history is not a guarantee that versions can be exchanged without an upgrade and indexing plan. -
Can I still use Elasticsearch 7.x with Magento 2.4.6+?
Do not assume so from the 2.4.6 label alone. Supported search versions change across patch releases, and Cloud requirements can differ from on-premises ones. Check Adobe's current system requirements for the exact installed patch. A service that happens to run can still be outside that supported combination. -
How much RAM does OpenSearch need?
There is no reliable RAM allocation based only on SKU count. Index size, searchable attributes, languages, shard and replica choices, concurrent queries and reindexing all matter. Measure the actual workload and leave room for the operating system as well as the Java heap. Follow the service or hosting provider's sizing guidance and test peak indexing and query activity. -
Why are my search results empty after upgrade?
An upgrade can change compatibility, connection settings, index names or the indexing state. First establish which service and index the store is using, then check product visibility and a representative storefront query. The search connection-error guide covers that specific diagnostic task. Do not delete indexes as a first response. -
Can I cluster OpenSearch for high availability?
OpenSearch supports replicas and multi-node deployments, but availability depends on shard allocation, node roles, capacity and the failure scenario being tested. Its health API distinguishes unassigned replicas from unavailable primary shards. Choose a topology against the deployment's recovery needs; no fixed node count guarantees an uninterrupted Magento storefront. -
Does Hyvä affect search?
A theme does not replace the search service. However, storefront components and extensions can change how searches are requested, filtered or presented. Test those integrations during a theme migration. Do not assume identical results or a particular response time simply because the same OpenSearch cluster is used.
Need help investigating catalog search?
Describe the environment, affected queries and recent changes when discussing an investigation. Agree the diagnostic scope and access needed before changing the search service.