Hi guys, thanks for the suggestions. However I actually want to delete from the DB any post containing these words.
I thought I could use the search index table to get a list of post IDs for the words, and then do some SQL like this...
DELETE from POSTS where ID = 1 OR 2 OR 5 OR 9 OR 13 OR etc etc etc for all of the post-IDs
Do you think that would work? Then would I have to update counters and delete those word's rows from the search index table?
|