OraQA

Oracle Question and Answer

  • Do you have a solution to a problem? Do you have an unanswered question? Login and share it with the Oracle community. More...

Oracle News


Entries RSS feed

Comments RSS feed

How to create text index and sync schedule in one step?

January 18th, 2006 By twocoasttb

When creating a context index in 10g you can define the synchronization job in the same statement:

create index synopsis_idx on documents(synopsis)
  indextype is ctxsys.context
  parameters ('sync (every "FREQ=MINUTELY INTERVAL=5" memory 20M)');

The user creating the index must have the ‘ctxapp’ role and the ‘create job’ privilege. The values supplied for the ‘every’ parameter must be an Oracle Scheduler Calendaring Syntax expression or a PL/SQL expression that evaluates to a date or timestamp.

Leave a Reply

You must be logged in to post a comment.

RSS feed for comments on this question