i need to code a search engine?

2015-12-20 11:20 pm
i want to make a website with only a search bar to search the internet. But i can code everything but the actual search bar. My question is how to code a search engine that searches the web??
更新1:

is that even possible ??

回答 (3)

2015-12-21 2:48 am
No, you don't; that's an unreasonable requirement.

You need to use Google's (or whatever's) public search engine API. You should not code your own, but you can embed Google's functionality in your website widget.
2015-12-21 12:45 am
You would need to build web crawler software to search web sites on a regular basis and create a database of links. That would probably take several years to gather enough information to be useful. Better off to use Google.
2015-12-20 11:47 pm
It is possible but it would be very slow if for each query it crawled the whole web.

The way Google do it is search the whole web and store the most important websites on its own servers. Then builds lots of indices. This uses millions of dollars worth of drives.

Some Web Crawlers:-
https://www.google.com/?#q=web+crawler+site:github.com


收錄日期: 2021-05-01 16:35:03
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20151220152013AAeyIg1

檢視 Wayback Machine 備份