Configure Find to Add User Identifiers to Queries

You can configure Find to add additional parameters to identify the user in the backend actions that use search filters (such as Query and GetQueryTagValues). When you use QMS, you can use this option if you want to use custom query adjustment for different users. You might also want to use it to make it easy to troubleshoot.

To use this option, you set the idol.user.request.prefix system property to a prefix to use for the user parameters. When you set this property, Find adds a parameter with the specified prefix to the requests, set to the name of the user sending the request.

You can also add user fields as additional parameters, by setting the idol.user.request.fields system property to a comma-separated list of the user fields to include. Find adds each field as a parameter with the specified prefix, set to the value for that user.

NOTE: The Community component stores and manages the user profile fields and values that Find uses.

To configure Find to add user parameters to queries

  • Set the Java system property idol.user.request.prefix to the prefix to use. Optionally also set the property idol.user.request.fields to a comma-separated list of user fields. For example:

    java -Didol.user.request.prefix=Find -Didol.user.request.fields=Department -Didol.find.home=[home directory] -Dserver.port=[port] -jar find.war

    This example adds the parameter FindUser=username to the search ACI actions that Find sends to your Knowledge Discovery components, and adds a FindDepartment parameter, set to the value of the Department user field.