The present invention provides a search ranking method suitable for a file
system, including receiving a query, calculating final relevance scores
of individual file items with respect to the query at least partially in
accordance with energy scores of individual nodes on a current file
system energy tree, and outputting a list of search results based on the
final relevance scores. The file system energy tree is updated in
response to an operation on the file system performed by a user, wherein
the file system energy tree has a tree structure corresponding to that of
the file system, and the individual nodes thereof respectively
corresponds to the individual file items in the file system