Question
Vodafone Intelligent Solutions
Vodafone Intelligent Solutions
IN
Vodafone Intelligent Solutions
Posted: May 7, 2024
Last activity: May 29, 2024
Last activity: 29 May 2024 1:12 EDT
Solved
Issue with Search if the word contains Special characters like "/"
Hi
We have a word which contains the character "/" in between of digits , and we have a requirement to search with this word to get related cases.
But search does not work due to this special character.
Did anyone else face this issue. Is there any fix Pega provides for this?
Thank you
@CharithA Reddy Rokkam In Pega Infinity, the search functionality treats certain special characters in a specific way. The "/" character is one of them. If your search query contains special characters that are not escaped, the system may retrieve incorrect results. To get the expected results, you might need to escape the special character in your search query. However, if the search contains a wildcard character, starting from the first occurrence, any white character will be used in a query as-is, making it impossible to find a document because analyzed data does not contain such characters. This is a default limitation in Elasticsearch and is related to performance restrictions. If you're still having issues, you may need to consult the Elasticsearch documentation for more details.
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references.
Pega search API > Domain Specific Language
Ask the Expert - Pega Search with Pawel Szadkowski