Hi,
Question: Should ProductKey be Analyzed (or use the same analyzer as ProductId)?
Introduction: Using Swift v1.26.0 (or above) in DW 9.17.5 we have different behavior from the Repository using the field Product Key vs Product Id.
Issue: When using Product Slider Component using "Selected Products", we ended up not getting anything rendered.
There was an update in Swift v1.26.0 and ProductKey started to be used instead of ProductId on this Pull Request. Looks like the expectation is that it would the same as using ProductId, but after inspecting it in Luke, they are different:
- It's hard to spot in Luke https://www.screencast.com/t/3BKvelNFtEU
- But checking the term vector we can see how the ProductId is lowercase and the ProductKey has the original casing.
It was only when we reverted the expression back to using ProductId that we got results. Here's the repro https://www.screencast.com/t/LAd9JOBQq3U
Conclusion: I fixed it for my project by changing the expression. I wonder if ProductKey has a bug or if it's accurately set, then Swift has a bug.
Best Regards,
Nuno Aguiar