Searching for 'royks' doesn't match 'röyksopp' and 'nu'est' doesn't match 'nu’est' (different quote character).
maybe mongo has an option for this. else we need a separate field on playlist items, searchValue or something, that strips punctuation and removes diacritics or does some other form of normalization. there's almost certainly modules for that!
A possible direction here is creating a text index:
ensureIndex({ artist: 'text', title: 'text' })
Searching for 'royks' doesn't match 'röyksopp' and 'nu'est' doesn't match 'nu’est' (different quote character).
maybe mongo has an option for this. else we need a separate field on playlist items,
searchValueor something, that strips punctuation and removes diacritics or does some other form of normalization. there's almost certainly modules for that!A possible direction here is creating a text index: