When configuring search and navigation for your storefront, will often need to troubleshoot your search results. Consider things like queries, indexes, stemming, performance, availability ranking, and how your products are configured.
Use the following tips to troubleshoot search results:
A standard product is found by keyword search if the product is online, searchable, and assigned to the storefront catalog. If a product is assigned to both online and offline categories, it's still indexed. Only product attributes that are configured as searchable attributes are indexed.
Bundled products are treated identically to standard products. The product bundle must be online, searchable, and assigned to the storefront catalog.
A variation product is found by keyword search if the variation is online and the base product is online, searchable, and assigned to the storefront catalog.
For a product set to be found based on a product in the set, the product in the set must be online and the product set must be online, searchable, and assigned to the storefront catalog.
Searching for variation products as part of product Sets
A product set is found by keyword search if the search text is contained in the product set or any product in the set. If the product is a variation product, it's found in the base product or any of the variation products.
A product set is contained in a refined search result if the refinement attribute is defined for any products in the set. If the product is a variation product, any of the variation products that match the refinement are included in the refined search result.
If a product set contains variation products, it's sorted based on the attributes defined in the variation products, unless the product set or the base product defines its own values for these attributes, such as for aggregated active data metrics.
Availability doesn't affect the search results, even if the variation product searched for, such as "size 28 bootcut jeans" isn't available, the product set that contains it appears in the search result.