No syntax block

This is for:

In this article

The REST Search API can process the query to delete special characters from a section of the query marked with special delimiters.

No syntax block Delimiters
Start <@-
End -@>

The no syntax block is useful to enclose variables to prevent special characters from inadvertently affecting the query.

Special characters in no syntax blocks are simply removed from the query.

The Search API interprets <@- @Hello $world -@> how are you as Hello world how are you.

However, if any number of special characters appear between two keywords without spaces, the Search API interprets those keywords as contiguous and replaces the special characters with a dot (.) to form a phrase match for those keywords (see Searching a Phrase).

The Search API interprets <@- Hello$=world -@> how are you as how are you.

You can apply a no syntax block to the full basic query expression by setting the enableQuerySyntax parameter to false.