What default WooCommerce search gets wrong
Out of the box, WooCommerce search is WordPress search with a product filter. It takes the words the customer typed and looks for them, exactly as spelled, in product titles, descriptions and short descriptions. It does not look at SKUs or attributes unless a plugin adds that, it does not know that “trainers” and “sneakers” are the same thing, and a single mistyped letter returns the page every store owner dreads: “No products were found matching your selection.”
That matters because customers who search are the ones ready to buy. They have a product in mind. On a phone, where most of that typing happens, typos are the norm rather than the exception, and nobody retypes a query three times. They leave. The search box is also the only place a shopper tells you, in their own words, what they wanted, and default WooCommerce throws that information away.
Better search has to do four things: show results as the customer types, forgive spelling, understand synonyms, and let you decide which products appear first. Everything else is a bonus.
What to add, and why
| Feature | What it fixes | In IndexIQ |
|---|---|---|
| Live results | Customers see products before they press Enter and never land on a results page with nothing on it. | Attaches to the theme’s existing search fields through CSS selectors; results drop down beneath the box. |
| Typo tolerance | “runing sneakrs” finds running sneakers. | Typo-Tolerant Search with an Allowed Typo Level setting. |
| Synonyms | Your catalogue says “trainers”, your customers say “sneakers”. | Smart Synonym Search plus your own Synonym Rules, one per line. |
| Merchandising | The product you want to sell appears first for the keyword that matters. | Product Boost Rules, Pin Products to Keywords, Automatic Boost Rules by category, tag or product age. |
| Voice search | Speaking is faster than typing on a phone. | A microphone in the search box; one setting hides it entirely. |
| Analytics | You learn what customers look for and do not find. | IndexIQ Analytics with all-time search insights. |
| Semantic search | “Something warm for winter” ranks a down jacket above a scarf that contains the word “warm”. | Optional AI Smart Search with your own OpenAI or Hugging Face key. |
The rest of this guide uses IndexIQ – AI Smart Search & Filters, ProCom’s extension on the WooCommerce Marketplace, which provides all of these. Everything except the AI layer runs on your own server with no external account.
Setting up better search step by step
Activate and test the search box you already have
After activation IndexIQ hooks into the theme’s search fields, found through CSS selectors under Search Box Selectors, for example
input[name="s"]or.search-field. Type in the shop header; live results should appear underneath with no page reload. If your theme uses an unusual search field, add its selector. For a search box somewhere else, use the[indexiq_search]shortcode or the IndexIQ Search block.Set the typo level
Enable Typo-Tolerant Search and set Allowed Typo Level. Start moderate: too forgiving and short queries match too much, too strict and phone typos slip through. Test with the misspellings you see in your own analytics.
Add synonym rules
Under Synonym Rules, add one rule per line, such as
training shoes = sneakers, running shoes. Smart Synonym Search adds similar words automatically; your rules cover the vocabulary that is specific to your catalogue and your customers.Boost and pin
Product Boost Rules (
product_id = boost_score) raise chosen products in the ranking. Pin Products to Keywords (keyword = product_id, product_id) puts specific products first when a customer types that keyword. Automatic Boost Rules such ascategory:sale=20ortag:new=15;days=30surface sale items or new arrivals without hand-picking.Tune for your catalogue size
Set Search Cache Duration and Default Result Limit. After bulk product changes, run Rebuild Product Index, which processes products in batches. The storefront talks to a REST endpoint at
/wp-json/indexiq/v1/search, so results are fast even for stores with thousands of products.
Adding AI semantic search, optionally
Keyword search, even with typo tolerance and synonyms, matches words. Semantic search matches meaning. It converts product text and the customer’s query into vectors with an embedding model and ranks by similarity, so a search for “running sneakers” can surface products labelled “running shoes” even without a synonym rule, and “something warm for winter” can rank a jacket above a scarf.
In IndexIQ this is an optional layer called AI Smart Search. Enable it, choose OpenAI or Hugging Face as the provider, paste your own API key, pick an embedding model and rebuild the index. Two settings control its influence: AI Search Strength sets how much the semantic score affects ranking, and Minimum AI Match Quality sets the similarity floor below which AI results are not shown.
Two things to understand before switching it on:
- Your provider bills the calls. IndexIQ uses the key you enter, so embedding and query costs appear on your OpenAI or Hugging Face account at that provider’s pricing. The plugin adds no per-search fee. For most stores the cost is small, because product embeddings are computed once per index rebuild and only queries are embedded at search time.
- Rebuild after changing provider or model. Embeddings from different models are not comparable, so a provider or model change needs a fresh index.
If you prefer to keep everything on your own server, leave AI off. Live results, typo tolerance, synonyms, voice search, merchandising and analytics work without it.
Practical tips
- Test on a phone. That is where typos and voice search happen. Make sure the results drop-down is readable and tappable on a small screen.
- Pin for campaigns. When you run a promotion, pin the promoted product to the keywords in your ads for the duration, then remove the pin.
- Use product age boosts for new ranges. A rule like
tag:new=15;days=30gives new arrivals a month of visibility, then fades automatically. - Mind the cache after price changes. If results show an old price, the Search Cache Duration has not elapsed; shorten it or rebuild.
- Keep standard search as the fallback. IndexIQ works alongside standard WooCommerce search, so a customer who presses Enter still gets a results page.
Search is the highest-intent moment in a store. Making it forgive a typo, understand a synonym and show the right product first is one of the few changes that helps every customer who is already trying to buy. A live demo of IndexIQ is linked from the plugin page if you want to try it before installing.
// Next step
Do this with IndexIQ Smart Search
AI-powered search with live suggestions, typo tolerance, synonyms and voice search. Sold on the official WooCommerce Marketplace with a 30-day money-back guarantee, updates and support from the ProCom engineers who build it.