search abstract method

Future<List<SearchResult>> search(
  1. String phrase, [
  2. int limit = 20
])

Returns a list of SearchResult instances in descending order of relevance to phrase.

The returned collection of SearchResult will be limited to the limit most relevant results. The default limit is 20.

Implementation

Future<List<SearchResult>> search(String phrase, [int limit = 20]);