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.gour...@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.