So lets say I am implementing a search feature that people would use to check fantasy football teams and their roster. A fantasy football team can have 8-12 players that each user selects from all of the available players in the NFL, thus you could have players who exist on the same NFL team or different NFL teams on your roster.
Lets say I want to see all the teams that have
(Ben Tate && Arian Foster) || (Adrian Peterson && Toby Gehert)
where && = and, || = or
i.e., the user wants to see teams where people commonly handcuff one player with their backup (in this case Foster & Tate are on the same team, Peterson & Gehert are on the same team).
If they have no knowledge of the AND (&&) and OR (||) symbol what is a way where you could illustrate that concept in a search feature?
Answer
- Any of the following instead of OR.
- All of the following instead of AND.
- Use a combination of brackets and indentation for nesting the two.
- Provide a tooltip with examples.
No comments:
Post a Comment