Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StopwordsTokenFilter

Package version

Removes stop words from a token stream. This token filter is implemented using Apache Lucene.

Hierarchy

  • StopwordsTokenFilter

Index

Properties

Optional ignoreCase

ignoreCase: undefined | false | true

A value indicating whether to ignore case. If true, all words are converted to lower case first. Default is false. Default value: false.

name

name: string

The name of the token filter. It must only contain letters, digits, spaces, dashes or underscores, can only start and end with alphanumeric characters, and is limited to 128 characters.

odatatype

odatatype: "#Microsoft.Azure.Search.StopwordsTokenFilter"

Polymorphic Discriminator

Optional removeTrailingStopWords

removeTrailingStopWords: undefined | false | true

A value indicating whether to ignore the last search term if it's a stop word. Default is true. Default value: true.

Optional stopwords

stopwords: string[]

The list of stopwords. This property and the stopwords list property cannot both be set.

Optional stopwordsList

stopwordsList: StopwordsList

A predefined list of stopwords to use. This property and the stopwords property cannot both be set. Default is English. Possible values include: 'arabic', 'armenian', 'basque', 'brazilian', 'bulgarian', 'catalan', 'czech', 'danish', 'dutch', 'english', 'finnish', 'french', 'galician', 'german', 'greek', 'hindi', 'hungarian', 'indonesian', 'irish', 'italian', 'latvian', 'norwegian', 'persian', 'portuguese', 'romanian', 'russian', 'sorani', 'spanish', 'swedish', 'thai', 'turkish'

Generated using TypeDoc