Okay, I'm trying to find the best way of doing a search on a group of articles/posts/whatever (basically, anything with a lot of text).
Now, the idea I had to do it was to split the file on " " (space), weed out average words like the, a, an, etc., then save them in a LONGTEXT in the database like this: test:5,fun:10,organ:2, you get the idea. Then when the user searches, I just need to use a LIKE statement, get the number after the : and the id of the article, then sort them based on the number.
Is this an efficient way of searching, or is there a faster/better/whatever way?