Oracle8i interMedia Text Reference Release 2 (8.1.6) Part Number A77063-01 |
|
Introduction to interMedia Text, 6 of 8
Once your text data is loaded in a table and the table contains a primary key, you can run the command to create a Text index.
For example, the following command creates a Text index called myindex
on the text
column in the docs
table:
create index myindex on docs(text) indextype is ctxsys.context;
When you use CREATE INDEX without explicitly specifying parameters, the system does the following for all languages by default:
For document filtering to work correctly in your system, you must ensure that your environment is set up correctly to support the Inso filter.
To learn more about configuring your environment to use the Inso filter, see "About Inso Filtering Technology" in Appendix C.
Note:
You can always change the default indexing behavior by creating your own preferences and specifying these custom preferences in the parameter string of CREATE INDEX.
See Also:
To learn more about creating your own custom preferences, see Chapter 3, "Indexing". See also CTX_DDL.CREATE_PREFERENCE in Chapter 7. To learn more about using CREATE INDEX, see its specification in Chapter 2. |
In addition to the general defaults, the system enables the following option for American and English language text:
In addition to the general defaults, the system enables the following options for Danish text:
In addition to the general defaults, the system enables the following options for Dutch text:
In addition to the general defaults, the system enables the following option for Finnish, Norwegian, and Swedish text:
In addition to the general defaults, the system enables the following options for German text:
Index maintenance is necessary after your application inserts, updates, or deletes documents in your base table.
If your base table is static, that is, you do no updating, inserting or deleting of documents after your initial index, you do not need to maintain your index.
However, if you perform DML (inserts, updates, or deletes) on your base table, you must update your index. You can synchronize your index manually with ALTER INDEX. You can also run the ctxsrv
server in the background which synchronizes the index automatically at regular intervals.
See Also:
For more information about synchronizing the index, see ALTER INDEX in Chapter 2.
For more information about |
|
![]() Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|