Closed edward-shen closed 6 years ago
Yeah... We have found a couple other instances of this same problem. It is because the current search library we are using (elasticlunr.js) trims off the S's from words that end with an S. This means that plural words will match singular words which is good for searching through paragraphs, etc, but not for searching through stuff like this. This will be fixed when we move to Amazon's Cloudsearch.
Closing as a duplicate of #21
Expected behavior: The card for CS 4710 appears as the first result Actual behavior: The card for ENGL 4710 appears as the first result, then CS4710 Attempted search fields: "CS4710", "CS 4710".![2018-04-11-222849_928x976_scrot](https://user-images.githubusercontent.com/6173958/38653289-0663dd90-3dd8-11e8-8d3a-c47d43f6ddb1.png)