1. A method performed by a device, comprising: receiving, by a processor of the device, a search query from a user; receiving, by the processor, search results, as first-search results, responsive to a search performed using the search query; performing, by the processor, a search of a history database using the search query to obtain search results, as second-search results, the history database storing information regarding documents previously accessed by the user; comparing, by the processor, information corresponding to the second-search results to information corresponding to the first-search results to determine whether information corresponding to one of the second-search results matches information corresponding to one of the first-search results; adding, by the processor, the one of the second-search results to the first-search results when the information corresponding to the one of the second-search results does not match information corresponding to any of the first-search results; modifying, by the processor, the one of the first-search results, for which the corresponding information matches the information corresponding to the one of the second-search results, within the first-search results by identifying a particular number of positions for moving the one of the first-search results and moving the one of the first-search results the particular number of positions towards a top of the first-search results when the information corresponding to the one of the second-search results matches the information corresponding to the one of the first-search results; and outputting, by the processor, the first-search results with the added second-search result or the modified first-search result.