Greetings, I'm thinking about the best way to implement a search on my website. I know about Sphinx and MySQL Full-text searches, however I'm not just searching a single field.
I have two things that I want to search: the title of an article and the tags associated with that article.
What I was thinking of doing is defining another column in my article table, which would contain the keywords from the title, and each of the tags appended to the end of this string.
For example, if the article title was 'how to build a home cinema', and had the tags 'DIY', 'technology' this field would be 'build home cinema DIY technology'. I could then perform a search on this field.
The only downside I see to this approach is that if the tags were updated, I would have to update this field as well which could lead to this field being inaccurate or out of date.
Is there a better way to do this?