topScores method

Stream<List<TermSearchResult<T>>> topScores([
  1. int count = 10
])

Produces a stream of the top N results. This stream will emit only when there is a change to the list of top results.

Implementation

Stream<List<TermSearchResult<T>>> topScores([int count = 10]) {
  return sortSample(count);
}