Tamino XML Server Version 9.7
 —  XQuery 4 Reference Guide  —

tf:stem

Search text based on word stems.


Syntax

tf:stem(string $searchString) => unspecified

Top of page

Description

The function tf:stem is specific to Tamino. It takes a search string as argument and returns all strings that share the same stem as the search string. It can only be used within the scope of the following functions:

tf:containsAdjacentText
tf:containsNearText
tf:containsText
tf:createAdjacentTextReference
tf:createNearTextReference
tf:createTextReference

Determining the word tokens that have the same word stem as the search string requires language-specific information. Currently, the pre-defined stemming information is only suitable for German.

Notes:

  1. For better performance, Tamino uses a special stemming index that must be activated for the current database. Therefore, you must set the database server parameter option "stemming index" to "yes". See the documentation of the Tamino Manager for details.
  2. The value of the server parameter "markup as delimiter" is respected when determining the word tokens. See the documentation of the Tamino Manager for details.

Top of page

Argument

$searchString

a string value

Top of page

Example

Top of page

Related Syntax Constructs

The following construct(s) refer to this construct:

Top of page