Interface: TextSearchTerm

Configuration for term text searches

Extends

Properties

caseSensitive

caseSensitive: boolean

Indicates whether the search should be case sensitive.

Default

Copy
false.

Inherited from

TextSearchConfig.caseSensitive


context?

optionalcontext: string


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

Inherited from

TextSearchConfig.normalizeAccentsForSearch


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

Inherited from

TextSearchConfig.normalizeEmoji


searchMode

searchMode: TextSearchMode

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

Default

Copy
TextSearchMode.string

Inherited from

TextSearchConfig.searchMode


stemAll

stemAll: boolean

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

Default

Copy
false

Inherited from

TextSearchConfig.stemAll


stemmer

stemmer: TextSearchStemmer

Determines which stemming algorithm will be used

Default

Copy
TextSearchStemmer.none

Inherited from

TextSearchConfig.stemmer


term

term: string


termMetadata?

optionaltermMetadata: any