expose some kind of OR search
leeoniya opened this issue · 0 comments
leeoniya commented
uFuzzy is an AND search because its design is to increase relevance and reduce matches as term count increases.
however, there is still a good use case for typo-tolerant OR searches, for example searching (or pre-filtering) related terms: auth, perm, admin, access, acl, login, token. if i had to find all matches with any of these using uFuzzy, i would have to exec 7 searches of the whole haystack instead of a single cheap OR search.