xt searching.It alsointegrates the interface of dambase searching and foil text searching to make it easierto switch between dambase searching and full text searching. This paper designs and implements office automation system deployable searchengine package,this package constructs on Compass and Lucene information retrievaltools,it also integrates OA system dambase searching,index searching and queryinterface,abstract OA system searching to an manageable and deployable package,itdecuple system business module,reduce repeat coding and improve the structure ofsystem,it also implements parsing Chinese words in full text searching system,optimizing the dictionary structure of parsing words. This package through the support of Spring and Hibernate to manage theinstance of database searching and index searching,through the mapping Java objectof Hibernate,implements maintaining searching field and indexing table by theconfigure,it also maintain parsing and searching interface by the configure toimplements make system more flexible.Through the integrating of Compass andHibernate,it supply transaction index of database and synchonizing index withdatabase to impmve the speed of building index and maintaining index in transaction. This package also implements decuple business logic in OA system,throughsetting data transport object,system delay generate database query and index query incore level to implements the cooperation of tiers. This package could improve developing efficiency and saving developing period,it also reduce the coupling in the system,and decrease the costs on managing systemto attach importance to develop business 109ic’it also enhance plain data field vaguematch searching to solve the problem of insufficient function.B