maxSearchResults

open fun maxSearchResults(maxSearchResults: Int): SearchOptions.Builder

Limits the maximum number of search results. By default this is limited to {@value * MAX_SEARCH_RESULTS}. To turn off limiting use UNLIMITED_SEARCH_RESULTS.

Parameters

maxSearchResults

Maximum count of search results to return, or UNLIMITED_SEARCH_RESULTS to turn off limiting.