Oracle8i interMedia Text Reference Release 2 (8.1.6) Part Number A77063-01 |
|
CTX_DDL Package, 12 of 24
Creates a section group for defining sections in a text column.
When you create a section group, you can add to it zone, field, or special sections with ADD_ZONE_SECTION, ADD_FIELD_SECTION, or ADD_SPECIAL_SECTION.
When you index, you name the section group in the parameter string of CREATE INDEX or ALTER INDEX.
After indexing, you can query within your defined sections with the WITHIN operator.
CTX_DDL.CREATE_SECTION_GROUP( group_name in varchar2, group_type in varchar2 );
Specify the section group name to create as [user.]section_group_name
. This parameter must be unique within an owner.
Specify section group type. The group_type parameter can be one of:
The following command creates a section group called htmgroup
with the HTML group type.
begin ctx_ddl_create_section_group('htmgroup', 'HTML_SECTION_GROUP'); end;
The following command creates a section group called auto
with the AUTO_SECTION_GROUP group type to be used to automatically index tags in XML documents.
begin ctx_ddl_create_section_group('auto', 'AUTO_SECTION_GROUP'); end;
"Section Group Types" in Chapter 3.
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|