Hi there,
I had a customer report an issue where searching for a product number like 1234B5678 didn't return any results, but 1234b5678 (same number, but a lower case b) did return results. After some searching I found this post that explains why that is (fields needs to be analyzed in order to be stored in lower case): https://doc.dynamicweb.com/forum/cms-standard-features/cms-standard-features/is-the-index-query-case-sensitive
I then checked how Swift handles this and noticed a few things:
1. The search text is lower cased before submitting to the server
2. There are two fields for the number in the repository: ProductNumber_Search which is only indexed and Product number which is indexed, analyzed and stored.
- \What is the reason for the Search field? If lower casing values, wouldn't the standard number field (which is analyzed) be sufficient?
- Is there a good reason to convert the text to lower case before searching or is that just a Swift convention?
Thanks!
Imar