Re: Fwd: Trouble with Velocity in SOLR 5.0.0

2015-03-11 Thread Sergiu Dumitriu
That's a change in the velocity engine, the way nested quotes are escaped is by doubling them: #set ($temp0 = $paramsq.replaceAll(, "")) Or better: #set ($temp0 = $paramsq.replaceAll('"', '')) I guess Solr 5 upgraded the version of Velocity they embed, thus the regression in your code. On

Fwd: Trouble with Velocity in SOLR 5.0.0

2015-03-11 Thread phiroc
Good morning, I have found the cause of the error (see below) in this line: #set ($temp0 = $paramsq.replaceAll("\"", "")) I replaced \" by \u0022, and the error message vanished. #set ($temp0 = $test.replaceAll("\u0022", "")) Philippe ERROR 500 Encounter