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.