Prerequisites for Real-Time Indexing
Before you can begin configuring real-time indexing for a search definition, you should configure the following elements or verify that these elements are set correctly:
-
Set the Real Time Indexing property in Quick Configure Menu.
-
Configure PSRTISRV server process.
-
Create an application class for any preprocessing or post processing.
Application class may be provided by PeopleSoft for any delivered indexes.
Note:
Real-time indexing supports a maximum of 16 keys per trigger record. If a trigger record contains more than 16 keys, use the Record Keys link on the Configure Real-Time Indexing page to select up to 16 keys for indexing.Setting the Real Time Indexing Parameter in PSADMIN Quick Configure Menu
You should set the Real Time Indexing parameter on the Process Scheduler domain.
To set the Real Time Indexing parameter:
-
Run PSADMIN and choose the Process Scheduler domain.
-
Select 4) Configure this domain.
To configure the domain, the domain needs to be shut down.
-
Enter y to the question: Do you want to continue (y/n).
-
Toggle 6) Real Time Indexing to set it to Yes.
-
Select 7) Load config as shown.
-
Restart the domain.
Configuring the PSRTISRV Server Process
The real-time indexing server process, PSRTISRV, starts when the Process Scheduler domain is booted up. The number of RTI server processes can be configured in the Process Scheduler section of the configuration file (psprcs.cfg). The default is set to 1 instance.
See Process Scheduler: PSRTISRV Section
You should configure the following RTI server process parameters on the Search Options page (select , from the left panel choose Administration, and then choose Search Options):
-
Index Refresh Interval
-
Heartbeat Interval
-
Real Time Indexing Set Size
-
Real Time Indexing Threshold
For description of these parameters, see Managing General Search Options.
Creating an Application Class
For full or incremental indexing of a search definition, any preprocessing is performed by an Application Engine program. In the real-time indexing process, you should define an application class to perform preprocessing and post processing. The application class should extend the PTRTIPKG:PTRTI application class. The PTRTI class contains the Process and PostProcess methods, and you should extend these methods with your application class to perform preprocessing and post processing tasks respectively.