I would suggest researching an Autonomous Transaction fired from the trigger to get around the commit executed by CTX_DDL.SYNC_INDEX.
Another approach I would pursue is to evaluate the use of Catalog Indexes (8.1.7). If your requirements fit within the catalog index limitations (more like an Intermedia Text-lite) then you are in luck since they are transactional, hence no need for periodic synchronization.
HTH
Tony Aponte
-----Original Message-----
From: Jesse, Rich [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 13, 2001 2:30 PM
To: Multiple recipients of list ORACLE-L
Subject: Oracle Text (ConText/InterMedia) and realtime updates
Hey all,
So, there we are, testing out InterMedia in 8i, in the hopes of using Oracle
Text in 9i. Is there a way to automagically update the context index
real-time? I tried a call to CTX_DDL.SYNC_INDEX in a trigger body, but of
course the wrapped procedure does a COMMIT.
The idea right now is to sync the index every minute via DBMS_JOB, but that
just seems too hokey to me. Apparently, under ConText in Oracle7, the
INT_RX procedure could be used in a trigger, but it's been desupported.
(I'm guessing that locking was an issue?)
Anyone have any ideas?
TIA!
Rich Jesse System/Database Administrator
[EMAIL PROTECTED] Quad/Tech International, Sussex, WI USA
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Jesse, Rich
INET: [EMAIL PROTECTED]
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
San Diego, California -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
