----- Messaggio originale -----
Da: Erik Hatcher <erik.hatc...@gmail.com>
A: solr-user@lucene.apache.org; O. Olson <olson_...@yahoo.it>
Cc: 
Inviato: Venerdì 18 Gennaio 2013 15:20
Oggetto: Re: Question on Solr Velocity Example


Great question.  $response is as described here 
<http://wiki.apache.org/solr/VelocityResponseWriter#Velocity_Context>

You can navigate Solr's javadocs (or via IDE and the source code as I do) to 
trace what that object returns and then introspect as you drill in.

I often just add '.class' to something in a template to have it output what 
kind of Java object it is, and work from there, such as 
$response.clusters.class 


---------------------

Thank you Erik. On the Page 
http://wiki.apache.org/solr/VelocityResponseWriter#Velocity_Context if you 
click on QueryResponse you get a 404 i.e. a link to 
http://lucene.apache.org/solr/4_0_0/solr-core/org/apache/solr/client/solrj/response/QueryResponse.html
 is a 404. 
 
Thank you for throwing light on my other questions. Your
responses helped.
 
Thank you,
O. O.

Reply via email to