diff --git a/solr/example/solr/conf/velocity/doc.vm b/solr/example/solr/conf/velocity/doc.vm index de3ad49aae2..91246389177 100644 --- a/solr/example/solr/conf/velocity/doc.vm +++ b/solr/example/solr/conf/velocity/doc.vm @@ -26,4 +26,17 @@ #if($params.getBool("debugQuery",false)) toggle explain
$response.getExplainMap().get($doc.getFirstValue('id'))
+ toggle all fields + + #foreach($fieldname in $doc.fieldNames) +
+ $fieldname : + + #foreach($value in $doc.getFieldValues($fieldname)) + $value + #end + + #end +
+
#end \ No newline at end of file diff --git a/solr/example/solr/conf/velocity/footer.vm b/solr/example/solr/conf/velocity/footer.vm index 79c8f820afc..b55e8a5a618 100644 --- a/solr/example/solr/conf/velocity/footer.vm +++ b/solr/example/solr/conf/velocity/footer.vm @@ -4,7 +4,7 @@ #if($request.params.get('debugQuery')) disable debug #else - enable debug + enable debug #end #if($annotate) disable annotation