You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "henri.gouraud@laposte.net" <he...@laposte.net> on 2012/03/28 12:04:07 UTC

Velocity substring issue

The following code fails on the $bdte1 substring. Both $bdte and $bdte1
appear to be identical!

triggers the following error message:

The problem persiste with various values of the indices.

Am I missing something?

--
View this message in context: http://lucene.472066.n3.nabble.com/Velocity-substring-issue-tp3864088p3864088.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Velocity substring issue

Posted by Chantal Ackermann <ch...@btelligent.de>.
Hi Henri,

you have not provided very much information, so, here comes a guess:

try ${bdte1} instead of $bdte1 - maybe Velocity resolves $bdte and
concatenates "1" instead of trying the longer value as variable, first.

Chantal


On Wed, 2012-03-28 at 12:04 +0200, henri.gouraud@laposte.net wrote:
> The following code fails on the $bdte1 substring. Both $bdte and $bdte1
> appear to be identical!
> 
> triggers the following error message:
> 
> The problem persiste with various values of the indices.
> 
> Am I missing something?
> 
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Velocity-substring-issue-tp3864088p3864088.html
> Sent from the Solr - User mailing list archive at Nabble.com.