I have no problem with this code:
But if I move the first line in the thread
I receive this error:
"ERROR","cfthread-0","06/22/2017","09:06:59","","cfthread-0;the thread scope cannot be modified from outside the owner thread;lucee.runtime.exp.ApplicationException: the thread scope cannot be modified from outside the owner thread
My workaround was to move stResult as key of searchArgs.
Maybe the issue was introduced with this changeset?