You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by eh...@apache.org on 2015/08/26 03:33:01 UTC
svn commit: r1697803 - in /lucene/dev/branches/branch_5x: ./ solr/
solr/contrib/ solr/contrib/velocity/src/resources/_macros.vm
Author: ehatcher
Date: Wed Aug 26 01:33:01 2015
New Revision: 1697803
URL: http://svn.apache.org/r1697803
Log:
Fix #field macro to comma separate multiple values (merged from trunk r1697802)
Modified:
lucene/dev/branches/branch_5x/ (props changed)
lucene/dev/branches/branch_5x/solr/ (props changed)
lucene/dev/branches/branch_5x/solr/contrib/ (props changed)
lucene/dev/branches/branch_5x/solr/contrib/velocity/src/resources/_macros.vm
Modified: lucene/dev/branches/branch_5x/solr/contrib/velocity/src/resources/_macros.vm
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/contrib/velocity/src/resources/_macros.vm?rev=1697803&r1=1697802&r2=1697803&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/contrib/velocity/src/resources/_macros.vm (original)
+++ lucene/dev/branches/branch_5x/solr/contrib/velocity/src/resources/_macros.vm Wed Aug 26 01:33:01 2015
@@ -40,7 +40,7 @@
#set($pad = " ... ")
#end
#else
- #foreach($v in $doc.getFieldValues($f))$esc.html($v)#end
+ $esc.html($display.list($doc.getFieldValues($f), ", "))
#end
#end