Interface: TextSearchConfig

Configuration for text searches

Extended by

Properties

caseSensitive

caseSensitive: boolean

Indicates whether the search should be case sensitive.

Default

Copy
false.

normalizeAccentsForSearch

normalizeAccentsForSearch: boolean

Controls whether all search features normalize accented characters to their base form in both the searchable raw text and the provided search terms. This option is applied to all search modes.

Default

Copy
false

normalizeEmoji

normalizeEmoji: boolean

Controls whether all search features normalize emoticons and emoji short names to emoji unicode values in both the searchable raw text and the provided search terms. This option is applied to all search modes.

Default

Copy
false

searchMode

searchMode: TextSearchMode

The text search mode to use. This determines how the search expression is interpreted.

Default

Copy
TextSearchMode.string

stemAll

stemAll: boolean

Determines whether all words will be treated as stems or only words with the ~ stem operator

Default

Copy
false

stemmer

stemmer: TextSearchStemmer

Determines which stemming algorithm will be used

Default

Copy
TextSearchStemmer.none