In order to search and utilize science and technology resources, which are usually distributed, hybrid, complex and massive, with high efficiency, some measures were provided on how to organize, represent, transmit and access these resources. A three-layer architecture, which consisted of data layer, data-link layer and presentation layer, was designed to make the retrieval system more open and extensible. The metadata was utilized to organize and present different types of science and technology resources. Directory service mechanism based on LDAP(lightweight directory access protocol) was used for science and technology metadata storage and accessing. In order to analyze and optimize the performance of data querying, the multi-level buffer mechanism and the query result sorting model were introduced. In our proposed solution, the responding speed of the retrieval system is improved significantly, and the system is also able to return the query result sorted by the value.