Oracle8i interMedia Text Reference
Release 2 (8.1.6)

Part Number A77063-01

Library

Product

Contents

Index

Go to previous page Go to beginning of chapter Go to next page

Introduction to interMedia Text, 6 of 8


Indexing

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;

General Defaults for All Languages

When you use CREATE INDEX without explicitly specifying parameters, the system does the following for all languages by default:

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

Language Specific Defaults

American and English Language Defaults

In addition to the general defaults, the system enables the following option for American and English language text:

Danish Language Defaults

In addition to the general defaults, the system enables the following options for Danish text:

Dutch Language Defaults

In addition to the general defaults, the system enables the following options for Dutch text:

Finnish, Norwegian, and Swedish Language Defaults

In addition to the general defaults, the system enables the following option for Finnish, Norwegian, and Swedish text:

German and German DIN Language Defaults

In addition to the general defaults, the system enables the following options for German text:

Index Maintenance

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 ctxsrv, see "ctxsrv" in Chapter 11


Go to previous page Go to beginning of chapter Go to next page
Oracle
Copyright © 1996-2000, Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index