PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • How to describe a full-text index by programming?
  • List of HFSQL properties used to describe a full-text index by programming
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
HDescribeFullTextIndex (Function)
In French: HDécritIndexFullText
HFSQLHFSQL Client/ServerAvailable only with these kinds of connection
Describes a full-text index of data file created by programming.
After the call to HDescribeFullTextIndex:
  • The item can be handled like any analysis item.
  • The item description cannot be modified anymore.
  • The description variable of item is re-initialized. A new index description can be performed.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
MyFullTextIndex is Description of FullTextIndex

// Describe the full-text index
MyFullTextIndex..MinimumLength = 4
MyFullTextIndex..Name = "MyFullTextIndex"
MyFullTextIndex..Items = "LASTNAME+FIRSTNAME"
MyFullTextIndex..AccentuationSensitive = True
MyFullTextIndex..CaseSensitive = False

HDescribeFullTextIndex(AFile, MyFullTextIndex)
Syntax
<Result> = HDescribeFullTextIndex(<File Name> , <Full-text index>)
<Result>: Boolean
  • True if the operation was performed,
  • False if a problem occurred. HErrorInfo is used to identify the error.
<File Name>: Character string (with or without quotes)
Name of HFSQL data file (described by HDescribeFile).
<Full-text index>: FullTextIndex Description variable
Name of FullTextIndex Description variable containing the description of full-text index.
Remarks

How to describe a full-text index by programming?

To describe a full-text index by programming, you must:
  1. Use the File Description, Item Description, Link Description and FullTextIndex Description variables (if necessary).
  2. Describe the characteristics of data file, items, links and full-text indexes via the HFSQL properties.
  3. Define the description of items with HDescribeItem.
  4. Define the description of full-text indexes with HDescribeFullTextIndex.
  5. Define the description of data file (HDescribeFile) and links (HDescribeLink).

List of HFSQL properties used to describe a full-text index by programming

The following properties are available in read/write.
AccentuationSensitive..AccentuationSensitive is used to configure the management mode of accented characters in the different searches performed on the item or on the full-text index (by HReadSeek, HReadSeekFirst and HReadSeekLast for example).
CaseSensitive..CaseSensitive is used to configure the management mode of case (uppercase/lowercase characters) in the different searches performed on the item or on the full-text index (by HReadSeek, HReadSeekFirst and HReadSeekLast for example).
Items..Items is used to configure the different items included in a full-text index.
ManageHTML..ManageHTML is used to configure the HTML management mode in a full-text index.
ManageRTF..ManageRTF is used to configure the management mode of RTF in a full-text index.
MinimumLength..MinimumLength is used to configure the minimum length of the words to index.
Name..Name is used to find out:
  • the name of the font associated with a Font variable.
  • the name of a control, report or report block.
  • the name of a control, group of controls or window.
  • the name of a control, group of controls or page.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230hf.dll
Windows Mobile wp230hf.dll
Linux wd230hf.so
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment