Skip to main content
Talk to an expert
Elasticsearch logo

Elasticsearch integration for ecommerce search and discovery

Search index stays fresh, merchandisers shape results safely iWeb connects your product data into a governed Elasticsearch index, implements facet and synonym controls for merchandisers, and captures query events back to analytics so teams can measure and improve search effectiveness. Works with Adobe Commerce, Magento Open Source, Shopify Plus, BigCommerce and other storefronts.

Also searched as: search integration, merchandising connector, app, extension.

ElasticsearchiWeb integration layeryour storefront
Works with - Adobe Commerce · Magento Open Source · Shopify Plus · BigCommerce · Other storefronts
01 · What you get

What a Elasticsearch integration gives you.

Shoppers find products faster

Relevance-ranked search results and responsive faceted navigation reduce search-to-purchase time. Merchandisers can boost high-margin products or seasonal ranges without waiting for product data changes.

Search quality is measurable

Query analytics surface which searches return zero results, which terms are misspelled or misinterpreted, and which product categories are under-indexed. Teams can then fix gaps in taxonomy or content.

Index changes are safe

Version control and rollback strategies mean merchandisers can test new facet structures or ranking rules in parallel indices before switching shoppers over, reducing the risk of broken search or poor rankings.

Multi-channel consistency

Synonyms, facet definitions and merchandising rules are governed once and applied consistently across all storefronts, reducing support overhead and ensuring a cohesive shopper experience.

Product data owners trust the index

Attribute completeness checks, facet coverage validation and automated alerts on stale indices mean catalogue teams have confidence that search is working from accurate, current product data.

02 · When it's worth it

Where a Elasticsearch integration earns its place.

If two or more of these are true, the integration usually pays for itself quickly.

Index product attributes, categories and editorial content into a central search engine for all storefronts
Manage facets, filters and synonym dictionaries to control how shoppers discover products
Apply merchandising rules to boost, bury or redirect searches without changing product data
Capture query, click and zero-results events to measure search quality and identify gaps
Rebuild indices when product taxonomy or attribute structure changes, maintaining freshness
03 · The limits

Where off-the-shelf connectors fall short.

Vendor connectors are fine for simple cases. Here's where the real ones need more.

Index freshness lag

by default Elasticsearch indexing runs on a batch schedule, not real time. High-velocity product changes (attribute updates, status flips) may not appear in search for minutes to hours, delaying visibility of catalogue corrections or new product launches.

No native merchandise rule inheritance

Merchandising rules (boosts, buries, redirects) must be built and maintained separately from your product taxonomy. Changes to category structure do not automatically cascade into search rules, risking rule drift and orphaned configurations.

No built-in index versioning or rollback

When an index rebuild fails or introduces bad facets or ranking, rolling back requires manual intervention or external tooling. There is no built-in capability to pin shoppers to a previous index version while you diagnose the issue.

Query analytics are loosely coupled

Search query and click data are not automatically channelled to your BI or analytics platform. You must build custom pipelines to capture, transform and load this data, or the insights stay trapped in Elasticsearch logs.

No multi-channel index orchestration

If you serve multiple storefronts, each connected to its own Elasticsearch cluster, there is no native mechanism to keep synonyms, facets or merchandising rules in sync across them. Index divergence is a manual problem to solve.

04 · The real work

A common tension arises when product taxonomy changes in PIM but merchandising rules (synonyms, boosts, facet hierarchies) are not updated in Elasticsearch, leaving search behaviour misaligned with catalogue structure.

05 · Where it sits

Where this integration sits in your estate.

Elasticsearch holds the commercial record. The iWeb integration layer manages the rules, mappings, monitoring and exceptions. The commerce platform presents the customer-facing experience. The estate map helps agree ownership before anything is built.

One integration architecture, any storefront. Elasticsearch connects through the same governed layer whatever commerce core you run.

System of record
Source / owner
Elasticsearch
Distributed search index and faceted discovery engine
  • Indexed product attributes and searchable content
  • Facet definitions and hierarchies
  • Synonym dictionaries and query redirects
  • Merchandising rule application (boosts, buries)
  • Search result ranking and relevance scoring
iWeb integration layer
Customer-facing commerce
Commerce platform
Adobe CommerceMagento Open SourceShopify PlusBigCommerceOther storefronts
  • Query interface and facet display on storefronts
  • Shopping cart and checkout after search
  • Shopper click and add-to-cart event capture
  • Search user experience and result layout
Connected neighbours
Integration layer
PIM
Source of product attributes, families, categories and descriptions fed into the index on a schedule
Integration layer
Storefront or commerce platform
Executes search queries against Elasticsearch and displays results; captures clicks and events
Integration layer
BI and analytics platform
Receives query, click and zero-results events for measurement and trend analysis
Integration layer
Merchandising rules engine
Manages boosts, buries and redirects applied at query time alongside base Elasticsearch ranking
Integration layer
ERP
Neighbouring source of product master data; stock and pricing flows are separate from the search index
Two-way sync where relevant
06 · Surrounding systems

Systems this integration usually sits next to.

Examples, not a closed list. iWeb is platform-agnostic on both sides: we wire this integration into whatever ecommerce platform and surrounding systems your estate already runs.

Ecommerce platforms (examples)
  • Adobe Commerce
  • Magento Open Source
  • Shopify Plus
  • BigCommerce
  • Other storefronts
Surrounding systems (examples)
  • PIM or product catalogue system
  • ERP for product master data
  • Storefront or headless commerce platform
  • BI or analytics platform for query analysis
  • Merchandising rules engine
  • Customer data platform or CDP
  • Content management system for editorial data
Not sure?

Not sure if this works with your stack?

Tell us what you’re using and what needs to connect. We’ll give you a straight view on what’s possible, what might be awkward, and the safest way to approach it.

07 · Data flows

The data flows we wire.

Each flow has a direction and an owner. We agree both before a line of code is written.

Into ELASTICSEARCH
From ELASTICSEARCH
BOTH WAYS
Catalogue index feed: Product attributes, family data, category taxonomy, product descriptions, images and status flow from your PIM or ERP into Elasticsearch indices
This feed typically runs on a schedule or event-driven basis when product data changes.
Facet and synonym configuration: Merchandising teams update facet definitions, synonym dictionaries and search ranking rules within Elasticsearch or a rules engine, shaping how queries match products without editing catalogue data.
Ranked search results: Shoppers query the index; Elasticsearch returns relevance-ranked product results, facet counts and applied merchandising boosts back to the storefront in real time.
Query and click events: Search queries, clicked results, cart adds and zero-results events flow back to analytics and BI systems so teams can measure search effectiveness, identify missing products and tune relevance.
Index rebuild and validation: When product structure or taxonomy changes, indices are rebuilt; validation checks confirm attribute coverage, facet cardinality and search performance before the new index goes live.
08 · How we build it

How iWeb configures the integration around your business.

Same method on every integration. The decisions come before the code.

  1. 01
    Design and build catalogue feed architecture

    We design the ETL pipeline from your PIM or ERP into Elasticsearch indices, defining which attributes, categories and enrichment fields get indexed, how often syncs run, and how to batch or stream changes to avoid index saturation.

  2. 02
    Model facets and search governance

    We work with merchandising and product teams to define facet cardinality, hierarchy, multi-select behaviour and which attributes are searchable. We then embed facet definitions as code or configuration, versioning them alongside index definitions.

  3. 03
    Implement synonym and redirect rules

    We build and maintain synonym dictionaries and query redirect rules that help shoppers find products even when they use different terminology. We version these rules and provide tooling for merchandisers to propose updates without manual JSON editing.

  4. 04
    Set up index rebuild and validation pipelines

    We automate index rebuilds on a schedule or on-demand, run pre-flight checks to validate attribute coverage and facet counts, and implement blue-green index switching so merchandisers can test new indices before switching shoppers over.

  5. 05
    Instrument search event capture and analytics

    We build pipelines to capture queries, clicks, zero-results events and performance metrics, route them to your BI platform, and create dashboards so merchandisers and product teams can measure search quality and identify content gaps.

09 · Ownership

Who owns what.

The single most important table in any integration. One system owns each field; everything else reads it.

Data
Source / owner
Maintained by
Notes
DataCatalogue index source (attributes, families, categories, descriptions, images, status)
Source / ownerPIM or product catalogue system
Maintained byProduct data team, with indexing schedule owned by search operations
NotesPIM owns attribute definitions; Elasticsearch search team owns which attributes get indexed and their weighting in relevance scoring.
DataFacet configuration and hierarchy
Source / ownerElasticsearch index metadata
Maintained bySearch operations team and merchandisers
NotesMerchandisers propose facet changes; search operations validate against category taxonomy and push to live indices via version control.
DataSynonym dictionary and term mappings
Source / ownerElasticsearch synonym ruleset
Maintained bySearch merchandising team with input from customer service and product
NotesCustomer service identifies common misspellings and terminology gaps; merchandisers maintain the synonym ruleset and test changes in parallel indices.
DataMerchandising rules (boosts, buries, redirects, pinning)
Source / ownerElasticsearch and merchandising rules engine
Maintained byMerchandisers and category managers
NotesRules are applied at query time; they must be updated when category taxonomy or product family structure changes, with version control and rollback capability.
DataQuery, click and zero-results events
Source / ownerSearch event stream
Maintained bySearch instrumentation and analytics team
NotesEvents are captured from storefronts, validated for completeness and accuracy, and routed to BI platform for analysis by merchandisers and product teams.
DataSearch performance and relevance metrics
Source / ownerSearch analytics dashboard
Maintained bySearch operations team, with SLA ownership by merchandising leadership
NotesDashboards track index freshness, query latency, zero-results rate and facet cardinality; alerts trigger if performance falls below SLA.
DataIndex rebuild and rollback strategy
Source / ownerSearch operations runbooks and CI/CD
Maintained bySearch platform and DevOps teams
NotesIndex versions are tracked; rebuild validation and blue-green switching allow safe rollback if an index introduces performance or relevance regressions.
10 · Experienced integrator

Built search indexing before

iWeb has designed and operated Elasticsearch-powered search indices for multi-channel commerce estates. We understand how to architect index feeds, manage facet governance, and route search events back to analytics and merchandising teams.

We know how Elasticsearch sits between product data sources (PIM, ERP) and storefronts, and how to keep indices fresh without creating bottlenecks in the product data pipeline.
We have built facet models, synonym dictionaries and merchandising rule systems that scale across multiple storefronts and adapt when taxonomy changes.
We design index rebuild and versioning strategies that let merchandisers test changes in parallel indices before switching live traffic, minimising risk and downtime.
We implement comprehensive search event instrumentation and route query, click and zero-results data to BI systems so teams can measure search quality and prioritise improvements.
We establish clear ownership boundaries between product data teams and search operations, reducing rule drift and ensuring facet and synonym changes are governed consistently across channels.
11 · Before launch

What we test before launch.

Every one of these is rehearsed before a customer ever sees the integration.

Verify index contains all active products and attributes with expected cardinality; spot-check facet counts against category totals.
Confirm index latency meets performance SLA under peak load (e.g. p99 < 200ms); run load tests before cutover.
Test rollback: rebuild a new index in parallel, validate it, then switch traffic and confirm ability to revert to previous index within 5 minutes.
Validate synonym and redirect rules do not introduce unintended matches; test edge cases (typos, abbreviations, category boundary overlap).
Confirm query and click event capture is complete and accurate; validate events flow to BI platform without loss or delay.
Check that index rebuild fails gracefully with clear error messages when product data is incomplete or malformed.
Verify facet hierarchy depth and cardinality do not degrade search relevance or confuse shoppers; test on multiple storefronts if applicable.
12 · Failure points

Common risks and where they bite.

We name these on day one. A risk written down is a risk you can plan around.

Stale or incomplete indices break discovery

If the Elasticsearch feed from PIM falls behind or incomplete attributes are indexed, shoppers see wrong facet counts, cannot filter by colour or size, or miss newly launched products. This is especially damaging during peak trading when merchandise velocity is high.

Synonyms and rules drift silently

When product category structure changes in PIM, merchandising rules (e.g. 'trainers' synonym for 'athletic shoes') are not automatically updated. Rules become orphaned or misaligned, causing unexpected behaviour when shoppers use old terminology.

Index rebuild failures lock out shoppers

If a scheduled index rebuild fails (bad synonym syntax, missing attributes, malformed facets), there is no automatic rollback. Shoppers hit stale search results or errors until operators manually intervene, extending the outage window.

Query analytics are not captured or understood

Without instrumentation, merchandisers and product teams cannot see which queries return zero results or which categories are underperforming. Optimisation decisions are made blind, and opportunities to improve discoverability are missed.

Multi-storefront indices diverge

When you maintain separate Elasticsearch clusters for different storefronts, synonym and facet changes applied to one cluster may not propagate to others. Shoppers see inconsistent search behaviour across channels, damaging trust and usability.

Performance degrades under peak load

If index size or query complexity grows unchecked, search latency rises during peak traffic, delaying results to shoppers and triggering timeouts. Lack of query performance budgets and monitoring means the problem is discovered only when shoppers complain.

14 · Questions

Common questions about Elasticsearch integrations.

How often should we rebuild our Elasticsearch index, and what triggers a rebuild?

Rebuilds typically run on a schedule (nightly or hourly depending on product velocity) or are event-driven when major category or attribute changes occur in your PIM. You should rebuild whenever taxonomy changes to ensure facets reflect the current product structure. Automated validation checks run after each rebuild to confirm attribute coverage and facet cardinality before switching shoppers over.

What happens if product data is missing or incomplete when we index?

Incomplete attributes cause facets to return lower cardinality counts, confusing shoppers and making it harder to filter products. Missing descriptions reduce search relevance. You should enforce completeness rules in your PIM before indexing; incompleteness alerts will help you identify which product families or categories are ready to publish to Elasticsearch.

How do we manage synonyms and query redirects without breaking live search?

Synonym updates should be tested in a parallel index and validated for unintended side effects (e.g. overly broad synonyms that blur category boundaries) before switching to live. Version control and rollback capability mean you can revert a bad synonym ruleset in minutes if shoppers complain. Regular review of query logs helps identify new synonyms that should be added.

How do we keep search rules in sync across multiple storefronts?

Facets, synonyms and merchandising rules should be defined once in a central configuration system and deployed consistently to all storefront indices via CI/CD. Drift occurs when rules are edited manually in individual clusters; automated validation checks and periodic audits help prevent it. Consider a shared governance process where merchandisers propose changes and an approval workflow pushes them to all clusters together.

What search events should we capture, and how do we use them?

Capture queries (including misspellings), clicked results, add-to-cart actions after search, zero-results events and dwell time on result pages. Route these to your BI platform to build dashboards showing search volume by term, zero-results frequency, top-clicked products and category performance. This data guides taxonomy refinement, content enrichment and merchandising strategy.

How do we handle a failed index rebuild or rollback to a previous index?

Maintain versioned indices so you can switch shoppers back to a known-good version within minutes. Pre-flight validation (attribute checks, facet cardinality, query performance budgets) catches most rebuild failures before they go live. If a rebuild fails, rollback is automatic; you then debug the issue offline before attempting again.

How does Elasticsearch integrates with our PIM?

A scheduled or event-driven feed pulls product data (attributes, categories, descriptions, images) from your PIM and indexes it into Elasticsearch. The feed should be idempotent (safe to run multiple times) and handle incremental updates to avoid re-indexing unchanged products. Validation checks confirm that all indexed attributes are complete and correctly structured.

What facets should we define, and how do we avoid over-faceting?

Define facets based on how shoppers browse and filter in your category - colour, size, price, brand, etc. Avoid facets with very high cardinality (thousands of unique values) as they slow search and overwhelm users. Monitor facet usage in your analytics; retire low-traffic facets and add new ones based on customer search behaviour and support requests.

How do we measure whether our search is working well?

Track zero-results rate (queries that return no products), average result position of clicked items (lower is better), facet usage and search conversion rate. Compare these metrics before and after taxonomy changes or merchandising rule updates. Set SLAs for search latency and zero-results rate, and alert if they are breached.

What happens to search if our PIM feed stops or falls behind?

New products and attributes will not be searchable, and stale product data (old prices, discontinued items) may still appear in results. Monitor feed latency and raise an alert if the index falls more than X hours behind PIM. Implement a backup manual index rebuild process so you can recover quickly if the feed breaks.

Can we A/B test different search rankings or facet structures?

Yes, by maintaining parallel indices with different configurations and routing a percentage of traffic to each. Elasticsearch supports alias-based traffic splitting. Measure conversion and search satisfaction for each variant, then promote the winner to all traffic. This allows safe experimentation with ranking algorithms, facet hierarchies and synonyms.

Who owns merchandising rules (boosts, buries, redirects) and how do they stay current?

Merchandisers own the rules and apply them via a rules engine or manually in Elasticsearch. Rules should be reviewed and updated whenever category structure, seasonal strategies or promotional priorities change. Version control and an approval workflow help prevent accidental changes and enable quick rollback if a rule breaks discovery.

Next step

Have a Elasticsearch integration brief?

Send the brief, or tell us what is breaking. You will get a written response from a senior expert: the integration boundary, the realistic shape, the risks worth naming, and what it takes to support after launch.
Talk to an expertOr browse all integrations →