I’m trying to optimize quickly optimize the search functionality of some outdated forum software written in PHP. I’ve got my work down to a query that looks like this: word1 and word2 are examples; there could be any number of words. The number at the very end of the query is the total number of words. The idea is that