osftcontent
This page was automatically generated from the database schema dump and may be incomplete or incorrect. Columns and data types are confirmed from the schema dump; the read/write paths and the connection to FULLTEXTFILEATTACHED are additionally reverse-engineered from enaio server logs (version 11.0, build 801/802).
|
Holds the extractable full-text content of a document, which serves as the source for the FTS indexer (index:<port>) to populate osfttab. One row per indexable DMS object (primary key osid).
The table is populated in two ways:
-
Client supplies the full text — on
dms.XMLInsert/dms.XMLUpdate/dms.XMLImportwith the optionFULLTEXTFILEATTACHED=1, the client uploads a pre-prepared full-text file (e.g. from an external OCR pipeline). It lands directly infulltext_content. -
Server-side rendition — default path (
FULLTEXTFILEATTACHED=0): theos-rendition-cacheservice produces the full text asynchronously via OCR / text extraction and writes the result to this table.
1. Columns
| Name | Type | Length | Description |
|---|---|---|---|
|
|
— |
DMS object ID (primary key). References the main object table of the respective object type ( |
|
|
— |
enaio object-type ID ( |
|
|
max |
Extracted full text as a BLOB (in Oracle the equivalent |
2. Lifecycle
On every dms.XMLInsert / dms.XMLUpdate / dms.XMLImport for an indexable object, the existing full-text content is deleted before a new RENDITION message is enqueued in oscpmqueue:
-- Before every re-indexing — invoked server-internally by
-- CThreadExecutorData::fnStoreInWork → SetIndexDataChanged
-- → StartRenditionExport → WriteVolltextFileIntoDatabase
DELETE FROM osftcontent WHERE osid = 2676390;
Writes (INSERT with BLOB content) run server-internally via CBaseData::Bind and are therefore only visible in SQL trace logs as bind operations (not as raw SQL statements).
3. Related tables
-
osftslog — status mirror of the FTS pipeline per object (
flag2state machine). -
oscpmqueue — CP message queue that synchronises rendition and indexer jobs.
-
osfttab — main index table of the full-text search.
4. Related Server-API jobs
| Job / code path | Role w.r.t. osftcontent |
|---|---|
Trigger the |
|
|
Right after the |
Indexer read path: fetches the full text from |
|
Returns |
|
Direct SQL path for |