I am getting a number_format_exception when trying to run a search against a search template containing this snippet of code. It defines a CityID variable and tries to set a wildcard default and the CityID field is defined as an integer in my mapping:
{{CityID}}{{^CityID}}*{{/CityID}}
Basically, I am trying to make the CityID field optional in my search template and the string fields work fine when using the *. Does anyone know what the wildcard default for a integer variable should be? Just as a test I set it to 0 and re-ran the search and it worked but did not return any results because I have no Cities with a CityID of 0 and obviously I cannot make that the default. I just wanted to confirm that the definition is in fact expecting an integer value. Any help would be appreciated. Thanks.
Kevin