Builder
class Builder
Builder used to construct QueryOptions instance.
By default the number of returned search results is limited to 500 to limit possible search time. Use maximumPreviewResultsTotal and maximumSearchResultsTotal to change this default.
Functions
Link copied to clipboard
Builds query options.
Link copied to clipboard
Enables generation of search preview snippets.
Link copied to clipboard
Prevents querying of indexed annotations.
Link copied to clipboard
Prevents querying of indexed document text.
Link copied to clipboard
Enables exact phrase matching.
Link copied to clipboard
Enables exact word matching.
Link copied to clipboard
open fun maximumPreviewResultsPerDocument(maximumPreviewResultsPerDocument: Int): QueryOptions.Builder
Sets a limit of preview results in each document.
Link copied to clipboard
Sets a limit of all preview results.
Link copied to clipboard
open fun maximumSearchResultsPerDocument(maximumSearchResultsPerDocument: Int): QueryOptions.Builder
Sets a limit of search results in each document.
Link copied to clipboard
Sets a limit of all search results.
Link copied to clipboard
Sets range for the preview generated.