Oracle8i interMedia Text Migration Release 2 (8.1.6) Part Number A77061-01 |
|
Indexing, 5 of 14
In pre-8.1, you create an index using CTX_DDL.CREATE_INDEX and name a policy.
In 8.1, you create the Text index as a type of extensible index using the CREATE INDEX SQL command. You name the index and optionally specify the preferences such as lexer and filter in the parameter string.
See Also:
To learn more about the CREATE INDEX command syntax, see the Oracle8i interMedia Text Reference. |
The following example creates a Text index called newsindex
on the news
column in mytable
. The index is created with the lexer preference called my_lexer
and the stoplist called my_stop
. Default attributes are used for the unspecified preferences.
create index newsindex on mytable(news) indextype is ctxsys.context parameters('lexer my_lexer stoplist my_stop');
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|