OraQA

Oracle Question and Answer


Latest Comments

  • Frank Zhou:
    Gmyers, Your simpler method doesn’t work, it didn’t put all cases into consideration. For...

  • gmyers:
    Or a simple select str_num, case when length(replace(str_num, ’)')) = length(replace(str_n...

  • stewstryker:
    Latest version is 3.1. Man, this thread is old!

  • prashant.pawar:
    I could able to resolve this issue. my files under $ORACLE_HOME/network/me sg/ were corrupted. copied...

Comments RSS feed


  • 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