Text Configurations (IQ/SQL Anywhere)

Text configuration objects are supported for IQ (v15.2 and higher) and SQL Anywhere (v12 and higher) to control the creation of text indexes. PowerDesigner models text configurations as extended objects with a stereotype of <<TextConfiguration>>.

Text configurations contain a set of configuration settings that control the characteristics of text index data such as what terms to ignore, and the minimum and maximum length of terms to include in the index. Once you have created a text configuration, you can select it to control a text index on the Sybase tab of your text index property sheet (see Text Indexes).

Creating a Text Configuration

You can create a text configuration in any of the following ways:

  • Select Model > Text Configurations to access the List of Text Configurations, and click the Add a Row tool.

  • Right-click the model (or a package) in the Browser, and select New > Text Configuration.

Text Configuration Properties

You can modify an object's properties from its property sheet. To open a text configuration property sheet, double-click its Browser entry in the Text Configurations folder.

The following extended attributes are available on the General tab:

Name

Description

Owner

Specifies the owner of the text configuration. Use the tools to the right of the field to create or choose an owner or to delete or inspect the properties of the current owner.

Scripting name: Owner

Template

Specifies a text configuration to use as the template for creating this one.

Scripting name: ParentConfiguration

The following extended attributes are available on the Sybase tab:

Name

Description

Minimum/Maximum Term Length

Specify the minimum and maximum length in characters of terms that will be included in the index.

Scripting name: MinTermLength, MaxTermLength

Text breaker

Specifies the name of the algorithm to use for separating column values into terms.

Scripting name: TextBreaker

Stoplist

Specifies terms to ignore when building a text index.

Scripting name: StopList