Move to solr 4 plus corrections to SparqlQueryExecutorTest with newlines and white space characters

This commit is contained in:
hudajkhan 2014-04-25 13:54:42 -04:00
parent b642f30391
commit 120be1e6b8
122 changed files with 17422 additions and 5288 deletions

View file

@ -0,0 +1,25 @@
#**
* Called for each matching document but then
* calls one of product_doc, join_doc or richtext_doc
* depending on which fields the doc has
*#
#set($docId = $doc.getFieldValue('id'))
<div class="result-document">
## Has a "name" field ?
#if($doc.getFieldValue('name'))
#parse("product_doc.vm")
## Has a "compName_s" field ?
#elseif($doc.getFieldValue('compName_s'))
#parse("join_doc.vm")
## Fallback to richtext_doc
#else
#parse("richtext_doc.vm")
#end
</div>