On-site search is responsible for 20–30% of revenue on most UK online stores — shoppers who search convert at two to four times the rate of those who browse. When search fails to return results (or returns the wrong ones), revenue drops immediately. This guide covers the four most common Magento search problems and their fixes.
The Magento search stack on SmartXHosting • “No results” for products that exist • Relevance is poor • Elasticsearch/OpenSearch connection errors • Tuning search for UK shoppers • FAQ
Modern Magento 2 uses Elasticsearch (or OpenSearch, the Amazon fork) for catalogue search. SmartXHosting Magento plans ship with OpenSearch pre-installed and configured. The database search fallback still exists but is deprecated — it is only used if Elasticsearch/OpenSearch is unreachable.
Check your configuration: Stores › Configuration › Catalog › Catalog › Catalog Search › Search Engine. The recommended value on SmartXHosting is “Elasticsearch 7” or “OpenSearch” depending on the platform version.
Customer types “merino jumper”, receives zero results, but the product exists in the catalogue. Causes:
bin/magento indexer:reindex catalogsearch_fulltext. Flush cache.app/design/frontend/<theme>/<locale>/stopwords.csv.Search returns results but the best match is buried. Tune under Stores › Attributes › Product and edit the relevant attribute:
After changing weights, reindex search: bin/magento indexer:reindex catalogsearch_fulltext.
Admin shows “Elasticsearch is not available” — search falls back to the less-accurate database engine. Diagnose:
curl http://localhost:9200 from SSH. Expected: JSON response with cluster name.systemctl status elasticsearch or systemctl status opensearch.localhost and 9200.df -h on the mount point. SmartXHosting alerts on disk usage before this happens in practice.If the service is down, restart and watch logs: journalctl -u elasticsearch -f.
Magento has several underused features that improve UK search relevance:
Magento hosting with OpenSearch tuned for UK stores
SmartXHosting Magento plans include OpenSearch pre-installed, resourced for typical catalogue sizes and monitored for health — search works out of the box.
View Magento plansQ: How often does the search index update?
A: By default, on cron (every minute) if the indexer is on Update on Save, or real-time if Update on Schedule. On SmartXHosting, the default is Update on Schedule which batches for better performance.
Q: Does search include CMS pages and categories?
A: CMS pages only if you enable Stores › Configuration › Catalog › Catalog › Catalog Search › Search also in includes CMS. Categories are always included.
Q: Can I boost specific products in search results?
A: Yes — community extensions like Magefan Search Boost let you pin a product to a specific query. Useful for flagship products you want first for branded searches.
Q: Why does autocomplete show weird suggestions?
A: Autocomplete pulls from previously searched terms. If early traffic included test queries or typos, they appear. Clear suggestions under Marketing › SEO & Search › Search Terms — delete unwanted entries.
Q: How do I handle plurals and misspellings?
A: OpenSearch has built-in stemming (“shoes” matches “shoe”). For misspellings, enable fuzzy matching via Elasticsearch config, or use a dedicated search extension that handles typo tolerance.
Q: Search works in Admin but not on the storefront.
A: Admin uses a different search path. On storefront, clear browser cache and flush Magento full_page cache. If the problem persists, check the storefront’s search form is submitting to /catalogsearch/result/?q= rather than a legacy URL.
Q: Can I track what shoppers search for?
A: Yes. Reports › Marketing › Search Terms. Also configure Google Analytics 4 site search tracking for a richer view of search-driven conversions.