Best way to let user choose AND/OR logic in search?
App has a simple search interface that currently uses AND logic for multiple criteria (only shows results that match all). We need to add an option to toggle between searching AND or OR (where multiple criteria would return file results with any of them, with those with more than one criteria rank higher).
What's the best way to simply expose this choice? Anything closer to typical advanced searches would be too complex for most of our users. The product lets you search for multiple criteria/labels besides just basic free text, so "exact phrase/word" logic isn't the best fit either.
Best idea so far is an on/off toggle or checkbox for "Only show overlapping results" but I can't find any similar examples... is this bad UX?
Thanks in advance!