To provide a great experience for customers, Bloomreach Commerce Search offers partial search. The partial search feature enables your customers to search for products on your site without typing in the full search query. Our search engine will return results based on an exact partial string match to the query term. For example, on a toys website, if a customer searched for "tr" we would return products matching to both "tractors" and "trains".
The partial search feature is based on a prefix partial search not a substring partial search. We only return search results that have an exact match from the beginning of the query not in the middle of it. For example, if a customer searched for PID "123" we would return product with PID "12345" and we would not return a product with PID "41235".
To integrate this feature, you will need to provide 2 pieces of information:
- Which field you would like to apply the partial search logic. Most of the times this is a title field or sometimes it is a product ID field.
- The size of the smallest string we should match to the query (the minimum number of letters you want to match to). The minimum value we typically recommend is 3 to get full advantage of the partial search feature. For example, if minimum is set to 3 then we would match "Dol" to "Dolls" but we would not match "Do" to "Dolls".