ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the list of synonyms used by a full-text index.
Example
// Retrieves all the synonym words
let sAllSynonyms = HListSynonym(DataFile, MyFullTextIndex)
// For each group of synonym words
FOR EACH STRING sSynonymList OF sAllSynonyms SEPARATED BY CR
let sString = "The following words are synonyms: "
// Extracts each synonym
FOR EACH STRING sSynonym OF sSynonymList SEPARATED BY TAB
// Adds the word to the string
sString += sSynonym + " "
END
Trace(sString)
END
Syntax
<Result> = HListSynonym(<Data file> , <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.
<Data file>: Character string
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 if it is equal to an empty string (""), the data file is sought in the current analysis.
<Password of the WDD file>: Optional character string
Password defined for the analysis. If no password is defined, this parameter must be equal to an empty string ("").
Component: wd290hf.dll
Minimum version required
  • Version 20
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help