|
|
|
|
|
- How to describe a full-text index through programming?
- List of HFSQL properties used to describe a full-text index through programming
HDescribeFullTextIndex (Function) In french: HDécritIndexFullText
![HFSQL Classic HFSQL Classic](https://doc.windev.com/ext/images/us/HF.png?-2134303037) Available only with these kinds of connection
Describes a full-text index of data file created through 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 reinitialized. A new index description can be performed.
MyFullTextIndex is Description of FullTextIndex  // Describe the full-text index MyFullTextIndex.MinimumLength = 4 MyFullTextIndex.Name = "MyFullTextIndex" MyFullTextIndex.Items = "LASTNAME+FIRSTNAME" MyFullTextIndex.AccentSensitive = True MyFullTextIndex.CaseSensitive = False  HDescribeFullTextIndex(AFile, MyFullTextIndex)
Syntax
<Result> = HDescribeFullTextIndex(<Data file> , <Full-text index>)
<Result>: Boolean - True if the operation was performed,
- False if a problem occurs. HErrorInfo is used to identify the error.
<Data file>: Character string Name of HFSQL data file (described by HDescribeFile). <Full-text index>: FullTextIndex Description variable Name of the FullTextIndex Description variable containing the description of the full-text index. Remarks List of HFSQL properties used to describe a full-text index through programming The following properties are available in read/write mode.
| | AccentSensitive | The AccentSensitive property is used to determine if accented characters are taken into account in the different searches performed on the item (with HReadSeek, HReadSeekFirst and HReadSeekLast, for example). | CaseSensitive | The CaseSensitive property is used to determine if the different searches performed on the item distinguish between uppercase and lowercase characters (with HReadSeek, HReadSeekFirst and HReadSeekLast, for example). | Items | The Items property is used to configure the different items of a full-text index. | ManageHTML | ManageHTML is used to configure the management mode of the HTML format in a full-text index. | ManageRTF | ManageRTF is used to configure the management mode of the RTF format in a full-text index. | MinimumLength | The MinimumLength property is used to configure the minimum length of the words to be indexed. | Name | The Name property is used to get:- 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.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|