Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1049597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T16:38:32+00:00 2026-05-16T16:38:32+00:00

I am looking on running a search on my database at set intervals for

  • 0

I am looking on running a search on my database at set intervals for a list of words I consider offensive (because I am an authoritarian dictator and I hate free speech – I rule with an Iron fist).

How would I most efficiently search my database for a list of keywords? The two columns I intend to search are indexed as Fulltext.

If anyone knows of a list of offensive words that would be useful too.

A note to those who ridicule my attempts at censorship

I have will have two systems in place. The first is a report function which is checked daily by admins. The second tool to combat the dissenters is this one. All it needs to be is a word search so that the admin may check through and descide if the content is offensive or not.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T16:38:33+00:00Added an answer on May 16, 2026 at 4:38 pm

    Mysql won’t give you the tools for an acurate search, take this sample, if you have among your words:

    freedom

    Since you are a dictator you don’t want it, it should appear, but clever users will put fr33dom, which is the same, now you have 3 ways to dot this:

    1. You place in your list one word and
      most derivations you can imagine
    2. You make a search with a LIKE in your MySql query, but it should be sloow when you hit the thousands, even with fulltext indexes
    3. You Index your content using Lucene

    I would go for the third, since Lucene is the best choice for performing searches, and since you are looking for words I can imagine that you are dealing with text, so this might help more than you think. Lucene can help you searching words similar to freedom, but not it, there you shouldn’t miss much!! And your rule is guarrantied!

    There are extensions for Lucene using Zend Framework, you can find them easily in Google.

    Best of luck in your dictatorial efforst!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Looking at what's running and nothing jumps out. Thanks!
Currently running Server 2003 but am looking at reinstalling in the near future due
Looking for some direction here as I'm running into some migration problems. We have
I'm looking for secure ways to pass data between a client running Flash and
I'm looking at ways to deploy a Ruby on Rails app (running on JRuby)
I'm looking for a way to limit the maximum number of running processes in
We've been running eAccelerator on each of 3 webservers and are looking to move
I have a coworker looking for this, and I don't recall ever running into
If I were to want to create a nice looking widget to stay running
What is the shortcut in eclipse to terminate debugging/running? Looking under Preferences -> Keys

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.