Partial result search not working
We have a solution with a lot of products.
They have names like PROD10597, PROD10115, PROD85534, ...
When searching on "PROD", we get all the product pages.
When searching on "PROD10597", we are getting the one product page.
But when searching on "PROD1" or "PROD1*" we get nothing.
'Enable wildcards' is enabled on the searchbox control.
Any hints on where to look?
Enable wildcards option does nothing by itself. It only allows users to type a star character somewhere in their search terms. They can search for `PROD1*`.
Now, the reason why you do not get search results for the `PROD1*` query is lileky that there are more than 32 indexed terms starting with `PROD1`. When there are too many terms starting with the leading characters, Coveo throws an error because that query would be too long and memory intensive to execute.
A search index is not optimized to search characters in words. It is optimized to find complete words.
If you want users to find search results when searching for partial product names/numbers without the star character, you have to index those partial words on your documents in a free-text searchable field.
For product "PROD10597", you could index "PROD10597 PROD1059 PROD105 PROD10 PROD1 PROD" in that field. This will ensure that this document will be returned when a user type any of those variations.