Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-3029: adjust /browse did-you-mean output to new collation response format

Erik Hatchera644d9d073ac
diff --git a/solr/example/solr/collection1/conf/velocity/did_you_mean.vm b/solr/example/solr/collection1/conf/velocity/did_you_mean.vm
index ef2485352a5..606733afc42 100644
--- a/solr/example/solr/collection1/conf/velocity/did_you_mean.vm
+++ b/solr/example/solr/collection1/conf/velocity/did_you_mean.vm
@@ -2,7 +2,7 @@
* Hyperlinked spelling suggestions in results list
*#
-#set($collations = $response.response.spellcheck.suggestions.getAll("collation"))
+#set($collations = $response.response.spellcheck.collations.getAll("collation"))
#if($collations.size() > 0)
Did you mean
#foreach($collation in $collations)