searchResults sortResults

format

public SearchResults[] sortResults( SearchResults[] source )

description

Sorts the search results by similarity in descending order.

parameters

source - an array of search results

returns

a sorted one-dimensional array of ranked SearchResults objects

throws

The searchResults sortResults () method does not throw any exceptions.