Better Search - Using Operations
I suggest Discord implement operations in the search. Examples of the operators and possible ways to implement them are:
- NOT (!, -, ) – negate
- AND (&&, AND, +) – Currently, all searches act like this
- OR (||, OR, ~) - any of them
- WILDCARD (*, •, ¡) – anything can go here (if you wanted to search F*ck to find people bypassing filters with things like ù)
- Grouping ( (), [], {})
- Order ( <>, «»)
- Exact - ("", “”, ‘’) – This can be used to ignore operators as well, Or, could be used with operators, depending on how it is done. Could be used to search search for people saying "F*ck" or F"*"ck.
search example:
"Discord is " > && (awesome || cool || amazing)", I " *" it!" !(bad || hate)
The results all must have "Discord it" followed by "awesome", "cool", or "amazing", followed by "I (anything) it!", without the words bad or hate in it.
NOTE - This is similar to post 360056128132, but this post is more in-depth
6
Please sign in to leave a comment.
Comments
0 comments