Before the revision, all metadata search methods are captured on the server side and then returned to the client for analysis, de-duplication, and sorting. Recently, many search APIs are available in Google APIs. Therefore, Google Web Search APIs, Yahoo Web Search APIs, and live search APIs are collected, unfortunately, Chinese search engines in China may not be interested in developing these technologies or publishing search APIs for protection purposes. My point is: the network is open, and some things will be lost after the API is released, but more things will be obtained.
For search engines that do not publish APIs, I directly crawl them on the server and return the API interfaces defined by myself. In this way, all the se has APIs for the entire website.
Considering the execution time, the default source Se added to the search is Google, Baidu, and live. The sorting weights (reliability) are 32, 23, and 23 respectively. Trusted users can set their own re-order.
To provide a better search experience, mi Search adds several of the most common search engines on the same page to achieve one-stop search. If you want to search for things in different search engines, you don't need to enter the URL or keywords in a complicated way.
This site is mainly implemented using Ajax + JSON + XHTML 1.0 + CSS 2.0, with little work, mainly to familiarize yourself with several se APIs and write some JS by yourself, I will share with you the details and materials in the search blog.