How do I make a search engine tool on my website?
-
for example if i wanted people to search for all the users.
-
Answer:
(Disclaimer: I'm the CEO of AddSearch.) You might want to try AddSearch, which allows you to add an instant search to your website in minutes, with zero development or maintenance. This is useful if you're looking to implement a text-based search. You just copy one line of JavaScript code to your site - that's it. You can try it out athttp://www.addsearch.com/. The main benefits of AddSearch over Google Site/Custom Search are: Instant search: You get results with one keypress, and the results appear immediately, in a layer on top of the page. It's the fastest search around. Easy installation: Copy over one line of JavaScript, that's it. No integration to page templates, IFRAMEs or other hassle. We've also got a WordPress plugin for even easier installation. Mobile support: AddSearch works on tablets & phones out of the box, no customization or tweaking necessary. Results control: You can boost or exclude areas on your site which are more important than others. For example, boost product pages and reduce the importance of your discussion forum. As for Apache Lucene/Solr and other custom solutions, they're very hard to implement and maintain. If you have tons of money and/or time to spare, feel free to go that route, but note that in the end your results might be worse. Feel free to contact me if you have any questions at !
Pasi Ilola at Quora Visit the source
Other answers
For that, you would only need to write a database query. Things get more interesting when you want large scale or fuzzy full text searching (Sphinx, Solr Lucene, etc).
Toby Thain
Question is somewhat confusing, a search engine is quite complex to build, but if you just need a textbox where you enter a name and search items (e.g. users) in your own database, then you just add a textbox, and when submitting with an event (e.g. button click), query your database with the user's input. The result that comes from the database you can use to populate (fill) some table or list or gridview or anything. I see you tagged your question with php and mysql so check here http://www.w3schools.com/php/php_mysql_select.asp
Andrei Cristof
If you really want to build a search engine from scratch, I'd recommend using http://lucene.apache.org/solr/. However, if you just want to do things like search for a username, in that situation using Solr is kind of like taking out a housefly with a nuclear missile. You're better off doing a database query, as Toby mentioned, or just implementing Google Site Search.
Matt Muller
Related Q & A:
- How do I put a search engine onto my web site?Best solution by thesitewizard.com
- How can I make a popular website similar to Myspace?Best solution by Yahoo! Answers
- How can i make a banner for a website?
- How can i make a email with my website?Best solution by Yahoo! Answers
- How can I make a website like facebook for free?Best solution by eHow old
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.