Skip to content

Language Stemming

You may configure your index to utilize language stemming. Stemming reduces a word to its root form. For example, the English stemmer maps connection, connections, connective, connected, and connecting to connect.

Why use stemming?

Stemming allows search terms to match a wider set of matches. Instead of having to type the exact term, all variants of the root form will match.

How to enable

Stemming is enabled in Vektron by selecting your language and enabled the stemming option. In the API, you can enable stemming by setting the enable_language_stemming property to true in the schema definition.

Things to Consider

Stemming may possibily give unexpected results depending on your data set. Stemming is only available for fuzzy match searches. You must set a language for your index to utilize stemming. If you need to support multiple languages it is recommended to have your content located over multiple language specific indices. If you are running federated search, the language and stemming settings must be the same for all indices.

Supported Languages for Stemming

The supported languages for stemming is different than for stopwords as not all written languages can support the concept of stemming.

Languages Supported

Languagecode
Arabicar
Danishda
Dutchnl
Englishen
Finnishfi
Frenchfr
Germande
Greekel
Italianit
Norwegianno
Portuguesept
Romanianro
Russianru
Spanishes
Swedishsv
Tamilta
Turkishtr