Post-migration tasks - enabling text search feature on Oracle database
You can enable the test search feature on an Oracle database after you perform your migration.
About this task
To enable the Text Search feature on an Oracle Database, perform these tasks:
Procedure
- Ensure that the Oracle database is configured with the Oracle Text feature.
- Log in to the Oracle server with a user ID
having the
CTXAPPprivilege. -
If upgrading in nonsharded mode, run the
create.sqlscript and theupdate.sqlscript from the<INSTALL_DIR>/Migration/9.5/database/scripts/oracle/textsearchdirectory.-or-
If upgrading in sharded mode, run the
create.sqlscript and theupdate.sqlscript from the following directories for each colony:<INSTALL_DIR>/Migration/9.5/database/scripts/oracle/textsearch/TRANSACTION<INSTALL_DIR>/Migration/9.5/database/scripts/oracle/textsearch/MASTER<INSTALL_DIR>/Migration/9.5/database/scripts/oracle/textsearch/CONFIGURATION<INSTALL_DIR>/Migration/9.5/database/scripts/oracle/textsearch/STATISTICSThe
create.sqlscript creates the text search indices (if it contains any scripts) and theupdate.sqlscript updates the existing text search indices (if it contains any scripts).
- (Optional) For the Context type text search
index, execute the following command or commands, depending on your
upgrade mode, to enable the text search indices to be incrementally
updated when a text search enabled column is modified.
If upgrading in nonsharded mode, run the
modify.sqlscript from the<INSTALL_DIR>/Migration/9.5/database/scripts/oracle/textsearchdirectory.-or-
If upgrading in sharded mode, run the
modify.sqlscript from the following directories for each colony:<INSTALL_DIR>/Migration/9.5/database/scripts/oracle/textsearch/TRANSACTION<INSTALL_DIR>/Migration/9.5/database/scripts/oracle/textsearch/MASTER<INSTALL_DIR>/Migration/9.5/database/scripts/oracle/textsearch/CONFIGURATION<INSTALL_DIR>/Migration/9.5/database/scripts/oracle/textsearch/STATISTICSNote: Perform step 5 only if the text search index creation is successful.
- Use the
<INSTALL_DIR>/properties/customer_overrides.propertiesfile to set the following property:yfs.db.textsearchto Y - Ensure that the value of the
yfs.db.textsearch.oracle.contexttypeproperty in theyfs.propertiesfile is set to "ctxcat" or "context" depending on the type of text search index.You can use the
<INSTALL_DIR>/properties/customer_overrides.propertiesfile to override theyfs.db.textsearch.oracle.contexttypeproperty.Note: To drop the text search indices from the Oracle database, run thedrop.sqlscript.