search method

Future<QueryResult> search(
  1. {Query query,
  2. Reach reach}
)

Searches documents.

This is a shorthand for taking the last item in a stream returned by searchIncrementally.

Implementation

Future<QueryResult> search({
  Query query,
  Reach reach,
}) {
  return searchIncrementally(
    query: query,
    reach: reach,
  ).last;
}