Abstract:Based on web pages full-text search technology. Design a full-text retrieval system to meet the special demand of e-textbook. It contains teaching materials document processing module, the indexing service module and the retrieval service module. According to the special feature of e-textbooks, we define the data structure of the index file, data structure of the text file, data structures of index entries and the score model for ranking. The retrieval system provides a fast and accurate search results to the learner.