This function finds the search text (text within curly braces) in the SOSL query and escapes the reserved keywords as per https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_sosl_find.htm Replacement happens only if the query starts with FIND followed by any number of spaces and opening curly brace {
FIND
{
SOSL Query
Executes the SoslDataSource Reserved characters in SOSL search text are escaped if the input query starts with FIND followed by any number of spaces and opening curly brace {
Promise
get sosl
Generated using TypeDoc
This function finds the search text (text within curly braces) in the SOSL query and escapes the reserved keywords as per https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_sosl_find.htm Replacement happens only if the query starts with
FINDfollowed by any number of spaces and opening curly brace{