X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;ds=sidebyside;f=zookeeper%2Fsolr%2Fcollection1%2Fconf%2Fvelocity%2Fproduct_doc.vm;fp=zookeeper%2Fsolr%2Fcollection1%2Fconf%2Fvelocity%2Fproduct_doc.vm;h=0000000000000000000000000000000000000000;hb=87e1dcc53b623a814a7020ba58ede9b089dd1996;hp=c878d8c13b188616ee0f30522434fc9b3e6851b1;hpb=dbd01a6924b459410829a2d16e13e3a147492276;p=lui-solr.git diff --git a/zookeeper/solr/collection1/conf/velocity/product_doc.vm b/zookeeper/solr/collection1/conf/velocity/product_doc.vm deleted file mode 100644 index c878d8c..0000000 --- a/zookeeper/solr/collection1/conf/velocity/product_doc.vm +++ /dev/null @@ -1,32 +0,0 @@ -#** - * Render a hit representing a Product - * assumed to have a field called "name" - *# - -
#field('name') #if($params.getBool('mlt', false) == false)More Like This#end
-##do we have a physical store for this product -#set($store = $doc.getFieldValue('store')) -#if($store)
Larger Map
#end -
Id: #field('id')
-
Price: #field('price_c')
-
Features: #field('features')
-
In Stock: #field('inStock')
-
- #set($mlt = $mltResults.get($docId)) - #set($mltOn = $params.getBool('mlt')) - #if($mltOn == true)
Similar Items
#end - #if ($mltOn && $mlt && $mlt.size() > 0) - - #elseif($mltOn && $mlt.size() == 0) -
No Similar Items Found
- #end -
-#parse('debug.vm')