1. A computer-implemented method for scoring documents comprising: obtaining a set of attributes derived from an element of a first digital document, wherein the element is identified from eye-tracking data of a user viewing the digital document; receiving a search query of a database comprising at least one query term; identifying a set of documents in the database according to the search query; determining an attribute score for each document; and sorting the set of documents according to the attribute score.