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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T06:04:36+00:00 2026-06-16T06:04:36+00:00

I have asked questions about what is best approach to create a search system

  • 0

I have asked questions about what is best approach to create a search system without libraries such as lucene, sphinx, solr, etc.

People keep on telling me things like you can create an index, that I can emulate indexing inside mysql using dedicated table for index, that searching through many tables is not a good idea. much better to have an index. index can be a single structured database table or external engine like sphinx or lucene which I won’t use.

Please explain me what actually does indexing mean? I just know that I should assign PRIMARY KEY for ID and make it auto increment, PRIMARY KEY will make it UNIQUE so ID numbers won’t be same. Are these index-es that people telling me directly associated with INDEX next to PRIMARY KEY or what?

I could never find an explanation anywhere in internet, so I’d be very thankful if somebody helps me out.

  • 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-06-16T06:04:37+00:00Added an answer on June 16, 2026 at 6:04 am

    MySQL is really just a very complex and powerful string parsing engine at the end of the day. All of the data you send it is stored as a string-like value in a file. MySQL is built in C and that is what manages the processing to do all of the queries that you run.

    An index is a list of the data in a table of yours mapped in a different manner than the mapping of a primary ID. The basic goal of an index is to allow the MySQL engine you are using to search your table much more quickly. This is because in practice an index is able to rule out huge sections of your table where it is known the records your looking for do not exist. A Primary Key is an index of the id value, but you can create indexes on arbitrary columns as followed:

    CREATE INDEX user_id_index ON meta (user_id);
    

    A table can have multiple indexes on it for different things and that is okay. Often you will find that you are referencing a table by different values and maybe you will want to create an index for each of those. It is important to index wisely as it is possible that indexing the wrong columns will slow your queries down. You will have to read this entire link to gain a good understanding of what is going on, but remember an index is basically a file that allows lookups via a column in one of your tables to happen more quickly:

    http://dev.mysql.com/doc/refman/5.0/en/mysql-indexes.html

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

Sidebar

Related Questions

While similiar questions have been asked, this one's focused on which is best/easiest to
I have just asked these two questions, one on flash seo url best practices
I have asked a couple of questions about this for loop: String[] book =
It seems interesting, that nobody asked this before. I have some basic-questions about the
Questions have been asked on SO about this, but they are over a year
I'm aware that questions about the stack vs. the heap have been asked several
I have recently asked about autoreleasing a returned quartz object: Autorelease for CGMutablePathRef? Dave
Ok, so I've asked a bunch of smaller questions about this project, but I
Alright, I know questions like this have probably been asked dozens of times, but
The majority of my questions I've asked here so far on StackOverflow have been

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.