A generic SQL query through hundreds of thousands of posts using a SQL 'like' operator? Might work OK now, but unless you actually build a cache/index, that search will easily start to slow down the speed of the site, which is pretty damn fast thanks to enigma. Search queries through all posts are ridiculously expensive. Also, pretty sure that is just an exact search since it uses like (I don't every use like in mysql so mayve I'm wrong and it escapes all the spaces), meaning typos and bad results end up forcing more searches. Then we'd have to add timers against ddosing using the search and protect it from SQL injection (if more features are added).
AKA one line of code is just going to shit up the site. Plz we don't want that.
I'll try to convince enigma to just add a google search bar into the right sidebar though so these topics stop happening.