For Oracle Text, you can use CREATEINDEX to create many types of indexes. The following describes each index type and their purpose and supported features. One Or
For Oracle Text, you can use create index to CREATE many types of indexes. The following describes each index type and their purpose and supported features. One Or
Content
For Oracle Text, you can use create index to CREATE many types of indexes. The following describes each index type and their purpose and supported features.
CONTEXT Index
CTXCAT Index
CTXRULE index CTXXPATH Index
CONTEXT description
When your text is composed of large, continuous text, you can use this index to create a text retrieval application. You can index files of different formats, such as MS Word, HTML, or plain text.
You can customize indexes in different ways.
After DML is executed on the base table, CTX_DDL.SYNC_INDEX is required.Supported preferences and parameters
Besides index set, all create index preferences and parameters are supported.
These supported parameters include index partition clause, format, Character Set, and language columns ).Query operator
CONTAINS
The syntax is called the CONTEXT syntax, which supports many operations.
The CTXCAT syntax can contain template queries.Note:
All text services and query services are supported.
Supports the indexing of Partitioned text tables.
The filter by and order by clauses of create index are supported. You can also INDEX the structured column values to more effectively process mixed queries.
CTXCAT description
You can use this index type to achieve better hybrid query performance. Generally, you can create an index for a small text or text fragment. For example, other columns in the base table, such as the entry name, price, and description, can be included in the index to improve the hybrid query performance.
This index type is transactional and automatically updated after DML, without the CTX_DDL.SYNC_INDEX.Supported preferences and parameters
INDEX SET
LEXER
STOPLIST
STORAGE
WORDLIST (only the prefix_index attribute supports Japanese data ).
Format, Character Set, and language columns are not supported.
Table and index partitions are not supported.Query operator
CATSEARCH
The syntax is called CTXCAT. It supports logical operators, phrase queries, and wildcards.
The CONTEXT syntax can contain template queries.
Topic query is supported.Note:
The index is large and the creation time is longer than that of CONTEXT.
The size of the CTXCAT index depends on the total text size, the number of indexes in the index set, and the number of index columns. Before adding an index to an index set, consider your queries and resources carefully.
CTXCAT indexes do not support tables and index partitions, text services (highlight, Tag, topic, and summary), or query services (explanations, query feedback, and browsing words ).