Changing the query operator in searches

Configure the SearchService.queryOperator to change the query operator that is used in Cognos Analytics Search fields.

By default, search results on multi-term queries are based on the AND logical operator. Using the SearchService.queryOperator key, you can specify that multi-term queries use the OR logical operator instead.

Procedure

  1. Click Manage > Configuration > System, and select Advanced Settings.
  2. Type SearchService.queryOperator in the Key field.
  3. Click in the Value field.

    The default value, AND, appears.

  4. Delete AND and then type OR in the Value field.
  5. Click Apply.
  6. Refresh your browser window.

Results

Multi-term queries will now use the OR logical operator between terms.