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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T20:02:45+00:00 2026-05-16T20:02:45+00:00

Suppose I have a MySQL database named DB, and a table named ContactInfo. The

  • 0

Suppose I have a MySQL database named DB, and a table named ContactInfo. The following is its structure and some example data(Just one item):

Table—-ContactInfo:


-----------------------------------------------------------
name  fullname                                       phone
-----------------------------------------------------------
NASA  National Aeronautics and Space Administration  00000
-----------------------------------------------------------

Now I want to search the data under the table “ContactInfo” using the following manner:

1) No matter I enter “NASA” or “National Aeronautics and Space Administration” or the phone number, the right line(in this exmaple, just the first line) should be returned to me.

2) When I enter “National Aeronautics Administration” or “National Space Administration” or “American Aeronautics and Space Administration” or “American NASA” which does not have a exact match in the database,but the first line should be returned to me since the content in the first line are related to the requested string.

The manner two can be seen as the obscure search.

I have considered to use the “Full context search” such as the “Hpyer estraier” and “Lucene”. However I found that my requirement is different more or less.

When using the “Hyper estraier” or “Lucene”, the indexes shoule be built first according to the parsed plain text. Then start to search.

So does that mean I should change the data in my databse to multiple plain text files(each record in the table to a single file), and then build the index according to these files?

BTW, I just found that the MySQL support full text search, however we have to handle some Chinese characters, but it seems that mysql does support chinese characters full text search perfectly.

So, anyone can give me a suggestion?

  • 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-16T20:02:46+00:00Added an answer on May 16, 2026 at 8:02 pm

    You can use sphinx in conjunction with mysql.
    sphinx is a standalone tool but it has a mysql proxy mode where it basically behaves like a mysql server and can be queried with any mysql connector out there.
    Or, as an alternative, there is a sphinx storage engine plugin for mysql which allows you to query sphinx with your current mysql connection and perform join’s to other tables.

    Definetly not a quich and dirty solution but it’s worth a further look: http://sphinxsearch.com/

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

Sidebar

Related Questions

suppose i have a query $array = array(); $sql = mysql_query(SELECT * FROM table);
Possible Duplicates: Storing Images in DB - Yea or Nay? Saving images in database
I'm implementing an application that will have a lot of clients querying lots of
I want to remove some rogue HTML from a DB field that is supposed
We have a console application (currently .NET) that sends out mail in bulk to
python manage.py dumpdata modelName > file.json . created an empty database for a user
I need to use full text search but the tables that I am using
I'm trying to build my first app on CodeIgniter. This is also my first
I'm trying to build my first app on CodeIgniter. This is also my first

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.