I’ve found something which did not seem to happen in railo (but I don’t
have my railo any more instance to check)
if i pass my search terms
Donuts chocolate
Donuts,chocolate
to cfsearch, things work as expected
however
Donuts, chocolate
throws
Cannot parse ‘donuts OR OR chocolate*~’: Encountered " "OR “” at line
1, column 11.
Was expecting one of:
…
“+” …
“-” …
“(” …
“" …
…
…
…
…
“[” …
“{” …
…
…
"” …
or any string with an operator and a space
Donuts+chocolate = ok
Donuts + chocolate = nok
The same code on one of my cf sites has no issues with the space.
Is this a bug or expected behaviour? do I really need to strip out the
spaces to avoid this error?