Proposes a database full-text retrieval model based on Lucene. Aiming at different source databases configuration, the databases customized via relation database is more flexible than customized via configuration file. The support to kinds of database for extracting, exchanging and indexing based on threads programming and polymorphism are implemented. The function of periodic indexing update and kinds of query requirements are provided.