The search clients allow usage of environment variables. These environment variables control or alter the behavior of processes that the search clients run.
Variable Descriptions
SSA_SEARCH_CLIENT_CACHE
Indicates whether to enable the cache for the Java search client. To enable cache, set the environment variable to
YES
. For example,
SSA_SEARCH_CLIENT_CACHE=YES
. The Java search client disables the cache by default.
Use this environment variable for Java based clients and client programs linked to the
Identity Resolution
DLL. You cannot use this environment variable for Web services. Setting
SSA_SEARCH_CLIENT_CACHE=YES
may significantly improve the performance of platforms that establish connections between clients and servers.
Consider the following factors before you enable this variable:
If you use multiple
ids_search_get
functions to retrieve the records one by one, it results in significant reduction in performance of platforms that establish connections between clients and servers. To increase the performance in such scenarios, use the
ids_search_start
function to retrieve all the records and transfer the records to the client application in a single session.
The
ids_search_get
function retrieves records from the local memory.
Transferring all the records in a single session might significantly increase the CPU usage of the server.
If the client application does not use all the search results or if you do not prefer the increase in CPU usage, do not enable this variable.
SSA_SOCKET_IDLE_TIMEOUT
Indicates the time period in seconds for which a socket connection can remain idle for the Java search client before it times out.
The
SSA_SOCKET_IDLE_TIMEOUT
environment variable uses the following format:
SSA_SOCKET_IDLE_TIMEOUT=n
n
represents the timeout period in seconds.
SSA_SOCKET_KEEPALIVE
Checks whether the socket connections for the Java search client are active. To keep the socket connections active, even when the Java search client is idle at periodic intervals, set the environment variable to