The present invention provides a kind of method and apparatus, for updating and indexing and search results ranking, based on the index of update in terminal. This method comprises: retrieval is with the presence or absence of in the file of any modification; If there is any modification this document, the file that increment index is modified is executed to generate new index file, wherein increment index includes that many times, therefore the file modified in history is selected; Merge index and enters original index file; The keyword of input is obtained by user; It inquires and is ranked up with the search result of the keyword, display order search result in history is selected at according to the file of the search result of the degree of correlation between search result and keyword number and that modification and is supplied to user. Through the invention, terminal local concordance list can reduce the user experience that mobile phone resources and power resource is occupied, and result of study is more humanized, with raising mobile terminal with real time automatic update.
展开▼