13
years in Ecommerce
[email protected]
HomeBlogSmart Search on Elasticsearch: How It Works and Why Online Stores Need It

Smart Search on Elasticsearch: How It Works and Why Online Stores Need It

A customer opens your store, types a query into the search bar, and doesn’t find what they were looking for. The product is in the catalog, but the search engine didn’t catch a typo, didn’t recognize a word form, or simply ran too slowly. The outcome is predictable: the person closes the tab and goes somewhere search is easier. For a store with a catalog of thousands or tens of thousands of items, that’s not a minor issue — it’s a direct loss of revenue. And it’s hard to spot the problem from conversion numbers alone, because the customer just leaves quietly. Let’s look at why this happens and how Elasticsearch-based search solves it.

Why does standard search stop keeping up as the catalog grows

The built-in search in CS-Cart, and its equivalents on other platforms, works well on small catalogs, but as the number of products and characteristics grows, it starts to struggle. Search runs directly against the database, and every query is a heavy operation for it — the bigger the catalog, the slower those queries get. The same happens with filters: on large categories, calculating “how many products match” for each parameter puts a noticeable load on MySQL and slows the page down. Beyond the load issue, standard search also has limited “understanding.” It doesn’t handle typos well, doesn’t account for different forms of the same word, and usually only searches products, without recognizing that a customer might be looking for a brand, a seller, or an entire category.

How is Elasticsearch-based search different from standard search

Elasticsearch is a separate search system built specifically for fast full-text search across large volumes of data. Instead of querying the store’s main database every time, Elasticsearch works with a specially prepared index — essentially a search map of the catalog, optimized for the way customers actually search. As a result, search and filters stop putting load on the store’s main database, and results appear almost instantly, even while the customer is still typing. For CS-Cart, we built this as a subscription-based add-on: there’s no need to set up and administer Elasticsearch on your own server. We handle the infrastructure, indexing, monitoring, and updates, and the store simply connects the add-on through the admin panel.

Elasticsearch search recognizes typos and different word forms

One of the main reasons customers don’t find a product is ordinary typos and different word forms. Standard search often looks for exact matches only, and any deviation returns nothing. Elasticsearch solves this through several mechanisms working together:

  • morphology — a stemmer (a text-analysis component) breaks a word down to its root and finds all its forms;
  • fuzzy search — the system tolerates typos separately in the name, SKU, description, and characteristics;
  • keyboard-layout correction — a query typed by mistake in the wrong keyboard layout is recognized and converted correctly;
  • transliteration — a brand name typed in Latin letters and the same name typed in Cyrillic are treated as the same query;
  • “did you mean” suggestions — when there’s a clear typo, the system suggests a corrected version of the query.

All of this happens without the customer doing anything: they just type however is convenient for them, and the system finds the right products on its own.

Smart search takes brands, categories, and sellers into account, not just products

Yes, and that’s a fundamental difference from basic search. Along with products themselves, categories, brands, and sellers are indexed separately (relevant for Multi-Vendor marketplaces). This means a customer who types a brand name will see not only that brand’s products, but the brand itself, with its logo. The same goes for categories and sellers.

Results are grouped by category with a “show more” option within each group, and the product card in the search dropdown shows the price, availability, and an “Add to cart” button right away — no need to open a separate page.

How does this speed up filters on catalog pages

Filters are one of the most resource-intensive parts of an online store, especially on categories with a lot of characteristics. Elasticsearch takes over the calculation of product counts for each filter value using its own aggregations, instead of querying the database directly. The customer sees how many products will match a given filter before even confirming their choice, and the page doesn’t freeze up while counting. This approach can be turned on selectively — just for search results, just for product blocks, or across the entire catalog — depending on what’s putting the most load on a particular store.

What does a customer see if a search returns no results

A blank page with “nothing found” is a common reason customers leave without buying. Elasticsearch-based search doesn’t leave people at a dead end: instead of an empty screen, it shows popular or recommended products.

This is especially useful for store owners. Search query statistics show what customers were looking for but couldn’t find. This is a direct hint for what to add to the assortment, or which synonyms or product descriptions need work.

 

Do you need to administer Elasticsearch yourself

This is usually the main barrier to adoption. Elasticsearch has a reputation for being complex to set up and maintain, requiring a dedicated server and specialist. We removed that barrier by building a ready-made subscription solution for CS-Cart. We handle infrastructure, indexing, updates, and monitoring, while the store just connects the add-on and works with it through the familiar admin panel. If Elasticsearch becomes unavailable, the add-on switches off automatically and the site keeps running on standard search until everything’s back up.

Q&A

Is Elasticsearch a good fit for a small store with a couple hundred products?

Yes, it is. Even with a small catalog, Elasticsearch is useful thanks to smart suggestions, typo correction, brand and category search, and query analytics that show what customers are searching for and what’s missing from the catalog. That makes smart search a tool for both sales and assortment growth.

 

 

Will I need to migrate my site to a different platform?

No, the add-on is installed on top of your existing CS-Cart site and doesn’t require switching platforms or migrating anything. It works as an add-on to your current catalog and integrates with add-ons you already have installed.

The Cart-Power Elasticsearch module supports:

Multi-Vendor — sellers in search results, filtering by company;

Ultimate — storefronts, pricing zones, separate indexes by language;

Master Products — products shared across sellers;

Product Variations — variations included in the index; Warehouses — stock levels by warehouse and delivery zone;

Product Reviews — sorting by rating;

Bestsellers — sorting by sales;

Age Verification — age-verification fields in the index;

Vendor Rating — seller rating in sorting;

and many others.

 

 

Can I test the search without rolling it out to all customers at once?

Yes, the add-on can be enabled for a test group of users only, without affecting the rest of your customers. That lets you evaluate the new search on real traffic before switching over completely.

 

 

What happens to search if the Elasticsearch server becomes unavailable?

The store won’t be left without search: if Elasticsearch becomes unavailable, the add-on automatically switches to standard CS-Cart search, and the administrator gets a notification. Once the server is available again, settings are restored automatically, with no manual work needed.

 

 

Does the add-on support stores with multiple languages?

Yes, morphological search and the stemmer are configured separately for each store language. Synonyms, stop words, and indexes are also separated by language, which matters for multilingual catalogs.

Conclusion

Bad search rarely looks like an obvious failure. More often it’s just products a customer couldn’t find, and a quiet exit with no purchase. Elasticsearch solves this problem from several angles at once: it understands typos and word forms, finds not just products but brands and sellers too, speeds up filters, and doesn’t leave customers staring at an empty page. And the store doesn’t need a dedicated infrastructure administrator — that part can be handed off to the agency entirely. If you want to find out how much your current search is holding back sales, and what switching to Elasticsearch would actually do for your catalog — get in touch, and we’ll test the add-on on your data.

 
 

Subscribe to stay up-to-date!

I want to be notified about ecommerce events.

  • Content of article
Anastasia Shabayeva , Cart-Power Editor
All articles
Please, fill out the form
Please, fill out the form