Oracle Context Option Administrator's Guide | ![]() Library |
![]() Product |
![]() Contents |
![]() Index |
The following topics are covered in this appendix:
The five digit number nnnnn is the identifier for the policy that owns the index. Each of the ConText index tables for a policy has the same five digit identifier.
Note: The ConText index tables are internal tables and should not be accessed directly. To perform administrative tasks on a ConText index, use the CTX_DDL package.
The n appended to the end of the table name is an internal identifier (value of 1 or 2) which ConText Option uses to prevent table name collisions when two-table compaction or two-table combined real deletion and compaction are used to optimize the ConText index for a table.
Note: The appended n is transparent to users because a synonym called DR_nnnnn_I1T which points to DR_nnnnn_I1Tn is automatically updated after two-table index optimization to point to the appropriate table.
For more information about two-table index optimization, see "Text Index" in "Text Concepts."
Name | Type | Description |
WORD_TEXT | VARCHAR2(64) | Indexed word |
FIRST_DOC | NUMBER(38) | DOCID of first document in WORD_INFO |
DOCLSIZE | NUMBER(38) | Size, in bytes, of WORD_INFO string |
WORD_INFO | LONG RAW | String identifying DOCIDs for all documents in which the indexed word occurs and location of each occurrence. |
Name | Type | Description |
TEXTKEY | VARCHAR2(256) | ID for document in text table |
DOCID | NUMBER(38) | ID for document in index |
Name | Type | Description |
SID | NUMBER(38) | Audit session ID of the ConText server which is currently creating an index |
IDCOUNT | NUMBER(38) | Maximum value for DOCIDs |
LTYPE | VARCHAR2(32) | Status of DOCID in index: F = Free, D = Deleted |
CONTIGUOUS | NUMBER(2) | Indicates the range of DOCIDs is contiguous for the current indexing (ensures that no overlapping DOCIDs are used in index) |
DATA | VARCHAR2(1024) | If LTYPE = F, DOCID for next insert; If LTYPE = D, DOCID for deleted document |
Name | Type | Description |
WORD | VARCHAR2(15) | Word identified by Soundex |
GROUP1 | VARCHAR2(15) | ID for 1st Soundex group to which word belongs |
GROUP2 | VARCHAR2(15) | Reserved for future use |
GROUP3 | VARCHAR2(15) | Reserved for future use |
ConText Option creates a total of four Oracle indexes for the three ConText index tables created during indexing. The Oracle indexes follow the naming conventions used to name the index tables, where the five digit number nnnnn is the internal identifier for the policy that owns the ConText index.
The five digit number nnnnn is the identifier for the policy that owns the SQE.
Note: The SQR table is an internal table and should not be accessed directly. To perform administration tasks on an SQE, use the CTX_QUERY package.
For more information about creating SQEs and the CTX_QUERY package, see Oracle ConText Option Application Developer's Guide.
Name | Type | Description |
QUERY_NAME | VARCHAR2(32) | Name of SQE |
SESSION_ID | VARCHAR2(32) | SQE type (session or system) |
FIRST_DOC | VARCHAR2(38) | Doc ID for the first document retrieved by SQE |
QUERY_RESULT | LONG RAW | Binary string containing results of SQE |
![]() | ![]() Copyright © 1996 Oracle Corporation. All Rights Reserved. |
![]() Library |
![]() Product |
![]() Contents |
![]() Index |