1. A searching apparatus connected via a network to a client and a plurality of servers storing therein data, the searching apparatus comprising: a first receiving unit that receives, from the client, a search request in an XQuery format requesting a search in the data; a first generating unit that, based on the search request, generates a distributed search request in an XQuery format to request each of the plurality of servers to conduct a search in the data and an integration request in an XQuery format to integrate search results of the distributed search request; a first transmitting unit that transmits the distributed search request to each of the plurality of servers; a second transmitting unit that transmits identification information of an execution result of the integration request to the client; a second receiving unit that receives, from the client, an obtainment request to obtain the execution result identified by the identification information; a receiving unit that receives, from each of the plurality of servers, a search result in an XML format resulting from the distributed search request; an executing unit that executes the integration request on the search results respectively received from the plurality of servers; a third transmitting unit that transmits the execution result of the integration request to the client that transmitted the obtainment request; and a processor for executing at least the first generating unit, wherein the search request includes at least one of doc( )functions of an XQuery, and the first generating unit generates, for each of the doc( ) functions, the distributed search request that includes the doc( ) function and path expressions that are obtained by tracing the doc( ) function as a starting point.