No syntax block

This is for:

Developer

The REST Search API can process queries to delete special characters from a section of the query marked with special delimiters. This no syntax block can be used to enclose variables to prevent special characters from inadvertently affecting the query.

No syntax block Delimiters

Start

<@-

End

-@>

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

Example

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.

Example

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

Note

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