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} or to {@value MAX_SEARCH_RESULTS_LOW_MEM} on devices with little of RAM. 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.