Adding search to a website


macrumors 6502a
Original poster
Mar 3, 2005
Center of the Nation
How does one add a search like this website has I have been asked to research this question. My company would like to add this type of search (where a customer would type something in and pictures of the product would show.)

Is this really high level coding or would someone be able to go through a company to code a search engine like that?


Moderator emeritus
Mar 10, 2004
Bergen, Norway
If you just want to search for words that appear in the name of the product and maybe a description, and you have a database (e.g. mysql) with those data, then it's fairly easy to make a rudimentary search system where you make a query for a word (or string) and use the result to present links to the articles/products you found with that query...


macrumors 6502
Jan 12, 2005
You can use MySQL's fulltext search (or the search system of another database) to build a search function.

Or, you can use an indexing system, sort of like what I have going on . I used the PHP engine, Sphider, and it works alright.