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 3221754
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:54:46+00:00 2026-05-17T15:54:46+00:00

Noob-ish question: I’m looking for a lightweight but decent php way to search all

  • 0

Noob-ish question: I’m looking for a lightweight but decent php way to search all fields of a MySql table, regardless the structure. I first gave it a try on my own with the default mysql select but that’s too basic. I’m looking for something that should at least order results by best match (keyword highlighting would be nice too).

I’m surprised by the little info I found googling around.
What I found so far is the Zend Framework Lucene implementation but that seems a bit too heavy (building a separate index) for my needs. Before digging into it I was wondering if there’s no easier way.

  • 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-17T15:54:46+00:00Added an answer on May 17, 2026 at 3:54 pm

    Because searching is a very complex thing. Think about what you’re asking. You want a tiny search engine that can just figure out how your tables are laid out and what’s relevant and what order things should go in. If you can invent that, you’ll be rich and probably working at Google.

    Lucene like you mentioned, or Sphinx search ( http://sphinxsearch.com/ ) are great. MySQL also has a built-in fulltext search which you can find at http://dev.mysql.com/doc/refman/5.1/en/fulltext-search.html

    But all of those take configuration and implementation. They aren’t just going to “know” what you want.

    The closest I can think of is to try Google Custom Search ( http://www.google.com/cse/ ). This doesn’t look at your database but instead spiders your site and indexes your pages after they are put together dynamically. You don’t have to worry about the index because it’s all done for you at Google. Of course you still can’t customize the ranking (Google determines it) and you give up control of the data but I think it’s as close to an “out of the box” solution as you’re going to find.

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

Sidebar

Related Questions

I'm sorry if this question is noob-ish but I'm not having much luck with
I understand that this is a probably a noob-ish question, but I've had no
I know this is a noob-ish question but is it possible to fully center
Please excuse the noob-ish nature of this question. I have a project in which
I'm new to android developing, so i apologise if this is a simple/noob-ish question,
im quite new to android, so i apologise if this is a noob-ish question
This question may seem extremely noob-ish, I apologize. I've been periodically attempting for the
This is probably realy noobish question but, i am unable to solve it. I
This is no doubt another noobish question, but I'll ask it anyways: I have
Rather noobish question but I have tried searching and just cannot find a solution.

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.