taw / magic-search-engine

Search engine for Magic cards
MIT License
47 stars 19 forks source link

Make any: operator amazing #72

Closed taw closed 3 years ago

taw commented 6 years ago

So I added any: operator which can search for whatever you want:

The idea is that it could actually become the default search term so blue "win the game" enchantment is translated into any:blue any:"win the game" any:enchantment, which is basically c>=b o:"win the game" t:enchantment by current system. Any explicit operators would still work, and there are some finer points to consider.

Todo list:

Of course it could turn out that the whole idea is misguided.

taw commented 6 years ago

foreign: operator is sort of a side thing, but it works now.

taw commented 3 years ago

I'm not really sure what want to do with any: queries. They work OK, but I don't think I want to switch to these as default like I originally considered. So I'll close it for now, might revisit in the future.