Boolean Operators for WT-Live Search

Would you like to see this on WT-Live?
  • Yes
  • Yes but differently (comment how)
  • No
0 voters

IMG_5722

Problem encountered

Currently, the WT-Live site considers all tags separately and doesn’t allow you to exclude tags without blacklisting them. Let me explain: let’s say I’m looking for a historical camouflage for the Leclerc. If I type “# leclerc # historical” in the search bar, the site will return all skins containing the # leclerc tag, those containing the # historical tag and those containing both. Another example: if I’m looking for a camouflage for the Leclerc but don’t want to see an anime camouflage, the only way to do it is to blacklist the # anime tag and search for “# leclerc”. As you can see, this isn’t practical.

Solution

To overcome these problems, I propose the following solution: add the logical operators “AND”, “OR”, “XOR”, a negative operator “-” and parentheses to make searching easier.

Explanation :

“AND” operator

The “AND” operator would be used to search for posts containing only the tags requested.

Search: # leclerc AND # historical
Result : PostType( # leclerc # historical )

“OR” operator

The “OR” operator would work as the site currently works (WT-Live considers all its tags to be separated by “OR”) and would therefore be logically useless. However, its integration makes sense given my next point.

Search: # leclerc OR # historical
Result : PostType1( # leclerc ), PostType2( # historical ), PostType3( # leclerc # historical )

“XOR” operator

The “XOR” operator would allow you to ignore posts with tags in common.

Search: # leclerc XOR # historical
Result : PostType1( # leclerc ), PostType2( # historical )

Negative operator “-”

The “-” operator would be used to exclude tags from the search.

Search: # leclerc -# anime
Result : PostType( # leclerc without the tag # anime )

Parentheses

As in mathematics, they could be used to redistribute operation priority.

Search : ( # leclerc AND # historical ) XOR # anime
Result : PostType1( # leclerc # historical ), PostType2( # anime )

Source :

5 Likes

Digging stuff from old forum was also a huge pain. Hopefully this one gets better.

2 Likes

Absolutely, +1

2 Likes

good idea, should be implemented asap

2 Likes