Support Article

Unable to search special characters

SA-38203

Summary



Unable to search using special characters in Pega 7.2.2.

Also, user was not able to search the case when tried to search with a substring.


Error Messages



Not Applicable

Steps to Reproduce



1) Enable Work Indexing in Pega 7.2.2.
2) Search using special characters and observe if results are retrieved.


Root Cause



The pySearchMethod value in pySearchWrapper activity was set to "starts".

Resolution

The pySearchMethod value is set to "contains" and re-indexing of the work tables solves the issue.

For Special character, if user searches the case with some string including a special character, it will not retrieve the results.

This is an expected behavior of the Elastic Search. One has to provide the special Characters like &,!,/ in double quotes to get the search results.

Note that user cannot handle this customization internally and Pega allows only few special characters in search box without any quotes.

Published May 18, 2017 - Updated June 6, 2017


0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.