Skip to content

Support prefix search too #60

Description

@emptierset

A common problem with Arcs cards: a query for Breaking Gates returns the Breaking Worlds card, not Breaking Gates & Placing Passages, which is obviously what was intended. A possible solution could be to retain a case-insensitive trie in addition to the existing FuzzySet, and check the trie first. I may take a crack at this if you would accept such a PR. I'm not aware of an STL or licensed trie implementation unfortunately, but https://gist.github.com/tpae/72e1c54471e88b689f85ad2b3940a8f0 seems like it'd work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions