When I enter a product in my Dawn Search, I noticed that it is pulling 2 correct products and one unrelated to the search.
The boxed product does not share any identical tags, but it is listed on a collection page with other products.
A user reports that Dawn themeâs search returns two correct products plus one unrelated item that shares no tags but appears in the same collection.
Root cause identified:
Shopifyâs default search doesnât only match product titlesâit also scans:
Proposed solutions:
Restrict search scope by modifying the predictive search URL to only fetch products:
/search/suggest.json?q={{ search.terms }}&resources[type]=product
Add strict title matching in theme code (search.js or predictive-search.js) to exclude description/collection matches
Use Search & Discovery app to pin/hide specific products and control result types
Filter results page with hidden input or Liquid code to show only products whose titles contain the search term
Multiple experts offered code snippets and implementation assistance. The issue remains open pending the userâs chosen approach.
When I enter a product in my Dawn Search, I noticed that it is pulling 2 correct products and one unrelated to the search.
The boxed product does not share any identical tags, but it is listed on a collection page with other products.
Your search result will return all products that have your search key in the productâs title or description.
Hi @Levent21 ,
The products that appear in the search results may be based on several factors:
Product Title: Shopify searches for keywords in the product title. If thereâs a match, the product will show up.
Product Description: The search also applies to the product description. If the keyword is found in the description, the product will appear in the search results.
Collections: Products listed in collections that contain the search keyword can also appear in the search results.
Let me know if this helps or if you need more assistance!
Best,
Felix
Hi @Levent21,
Shopify now supports displaying results by relevance ranking. So it doesnât need to be the same as the title to display the result, the result can be displayed based on:
You can also create boot searches in the âSearch & Discoveryâ app.
Hope it is clear to you
Hey @Levent21 ,
This happens in Dawn (and most Shopify themes) because the default predictive search doesnât just match product titles or tags - it also pulls in results based on collections, product descriptions, and even partial keyword relevance. Thatâs why youâre seeing an unrelated product appear even though it doesnât share tags.
/search/suggest.json?q={{ search.terms }}&resources[type]=product
This ensures only products are fetched.
title or variants.sku instead of pulling from descriptions or collection context. That prevents unrelated products from being included.If you want me to implement this, please feel free to reach out - here is my portfolio: https://rajatweb.dev/ where youâll find my contact info and past work.
Thanks,
Rajat â Shopify Expert
Hi,
Hope this will help
Code example (Limit the search page to products:)
<input type="hidden" name="type" value="product">
Coed example (Filter results by title on the results page:)
{% assign term = search.terms | downcase %}
{% for item in search.results %}
{% if item.object_type == 'product' and item.title | downcase contains term %}
{% render 'card-product', card_product: item %}
{% endif %}
{% endfor %}