ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / Managing databases / HFSQL / HFSQL functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Returns the list of synonyms used by a full-text index.
Example
// Récupère l'ensemble des mots synonymes
let sEnsembleSynonyme = FichierDeDonnées.ListeSynonyme(MonIndexFullText)
// Pour chaque groupe de mots synonymes
FOR EACH STRING sListeSynonyme OF sEnsembleSynonyme SEPARATED BY CR
	let sChaîne = "Les mots suivants sont synonymes : " 
	// Extrait chaque synonyme
	FOR EACH STRING sSynonyme OF sListeSynonyme SEPARATED BY TAB
		// Ajoute le mot à la chaîne
		sChaîne += sSynonyme + " "
	END
	Trace(sChaîne)
END
Syntax
<Result> = <Source>.ListSynonym(<Full-text index> [, <Path of the WDD file> [, <Password of the WDD file>]])
<Result>: Character string
List of synonyms defined for the specified full-text index in the specified data file. This list has the following format:
<Word 1> + TAB + <Synonym 1A> + TAB + <Synonym 1B> + CR + ...
<Word 2> + TAB + <Synonym 2> + ... + CR + ...
<Word N> + TAB + <Synonym N>
In this list:
  • The synonyms are separated by a tabulation (TAB).
  • The different groups of synonyms are separated by a Carriage Return (CR).
Remarks:
  • The words can be written in uppercase if the full-text index is not sensitive to the case or without accented characters if the full-text index is not sensitive to the accented characters.
  • The words whose length is less than the minimum length specified for the full-text index may not appear in this list.
<Source>: Type corresponding to the specified source
Name of the data file containing the full-text index.
<Full-text index>: Character string
Name of full-text index used.
<Path of the WDD file>: Optional character string
Full path of analysis (.WDD file) where the data file is described. If this parameter is not specified or is an empty string (""), the data file is searched for in the current analysis.
<Password of the WDD file>: Optional string or Secret string
Password defined for the analysis. If no password is defined, this parameter must be an empty string ("").
New in version 2025
Secret strings: If you use the secret string vault, the type of secret string used for this parameter must be "ANSI or Unicode string".
To learn more about secret strings and how to use the vault, see Secret string vault.
Component: wd300hf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/16/2025

Send a report | Local help