Creating a Text Configuration Object

Create a text configuration for use with a text index.

Prerequisites
Authenticate with Sybase IQ using an account that has DBA or Resource authority.
Task

For detailed information on stoplists, see the Sybase IQ documentation: Unstructured Data Analytics in Sybase IQ > TEXT Indexes and Text Configuration Objects > Text Configuration Objects > Text Configuration Object Settings > Stoplist Setting (STOPLIST).

  1. From the application menu bar, select View > Open > Administration Console.
  2. In the Administration Console, expand IQ Servers > Schema Objects.
  3. Select Text Configuration Objects, click the drop-down arrow that appears to the right, and select New.
  4. In the wizard, select the Sybase IQ server on which to create the text configuration.
  5. Select the Sybase IQ user who will own the text configuration.
  6. Enter a name for the text configuration.
  7. Select the database collation for this text configuration. Each database has a CHAR collation and an NCHAR collation, configured when the database was created. Sample collations:
    • ISO_BINENG – Binary ordering, English ISO/ASCII 7-bit letter case mappings
    • UCA – Standard default Unicode Collation Algorithm collation
  8. (Optional) Enter a comment describing the text configuration.
  9. Choose a term breaker algorithm and specify the minimum and maximum term lengths.
  10. (Optional) If you chose the Generic term breaker algorithm, you can specify an external library function to break the text into terms. Use one of these formats:
    • function-name@library-file-name
    • Windows-function-name@library-file-name.dll
    • UNIX:UNIX-function-name@library-file-name.so
  11. (Optional; available only for CHAR collations) Specify an external library to perform document filtering before term breaker processing.
  12. (Optional) Create a stoplist by entering terms to omit from the text index. (Terms in the stoplist are also ignored in queries.) Separate terms with spaces.
    Many nonalphanumeric characters are ignored in stoplists; others (including spaces, apostrophes, and dashes) are interpreted as term delimiters. Consequently, including contractions and hyphenated terms may lead to undesirable results, even when you enclose the terms in quotes. How the stoplist is parsed depends on the term breaker and term lengths you specified in step 9 and step 10.
  13. Click Finish to create the text configuration.
Next
Create a text index that uses your new text configuration.
Related tasks
Modifying the Properties of a Text Configuration Object
Generating DDL for a Text Configuration Object
Deleting a Text Configuration Object