TextSearchQueryOptions

data class TextSearchQueryOptions(val ignoreCase: Boolean = true, val searchResultOptions: TextSearchResultOptions = TextSearchResultOptions(), val whitespaceMode: TextSearchQueryWhitespaceMode = TextSearchQueryWhitespaceMode.COLLAPSE)

Options object used with ReaderDocumentSearch.createTextQuery.

Constructors

Link copied to clipboard
fun TextSearchQueryOptions(ignoreCase: Boolean = true, searchResultOptions: TextSearchResultOptions = TextSearchResultOptions(), whitespaceMode: TextSearchQueryWhitespaceMode = TextSearchQueryWhitespaceMode.COLLAPSE)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard
val ignoreCase: Boolean = true

If set to true, character casing is ignored.

Link copied to clipboard

Options for search result items.

Link copied to clipboard

Controls how whitespace should be treated in the source content. See TextSearchQueryWhitespaceMode for a description of each mode.