Well the way I do it is to process the input in my server-side language. I take the string "How to Cook Spaghetti and Meatballs", in this scenario and split it into constituent parts, which I then enter to a new table called something like 'meta tags' or 'search tags'.
I store the filename or the parameters necessary for my page to display that content as well as the tags and I also store a description. That way, if someone gets more than one value for a search term, there is a descriptio that will give a bit more detail - just like when search mySQL docs or a search engine.
I can't say for sure that the db table structure is correct but it seems to work for what I am doing.