Skip to content

playlist filter is too strict #303

@goto-bus-stop

Description

@goto-bus-stop

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' })

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions