主权项 |
1. A method comprising the steps of:
receiving, from a client device, a search query; determining, from the search query, a predefined pattern satisfied by the search query, the pattern being one of a plurality of predefined patterns and including an entity and one or more attributes, and wherein the pattern is determined based on one or more terms of the search query; mapping the determined pattern to a particular domain using an index relating particular patterns to domains, wherein the particular domain indicates a subject area of the search query; determining a particular search engine from a plurality of distinct search engines based on the particular domain, wherein each search engine is associated with one or more domains; reformatting the search query specifically for the determined search engine based on a set of rules of the determined search engine; sending the reformatted search query to the determined search engine; receiving, from the determined search engine, one or more search results in response to the search query; analyzing the one or more search results using the determined pattern from the search query to generate a single result that is relevant to the search query; and providing the single result to the client device. |