Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Quote filter queries, add TODO for adding escaping or field qparser usage

Erik Hatchera1374ef19c09
diff --git a/contrib/velocity/src/main/solr/conf/velocity/VM_global_library.vm b/contrib/velocity/src/main/solr/conf/velocity/VM_global_library.vm
index af117df1ebf..baa96b6be88 100644
--- a/contrib/velocity/src/main/solr/conf/velocity/VM_global_library.vm
+++ b/contrib/velocity/src/main/solr/conf/velocity/VM_global_library.vm
@@ -6,7 +6,8 @@
#macro(url_for_start $start)/solr/itas?start=$start#end
-#macro(url_for_nested_facet $field $value)/solr/itas?fq=$field:$value#end
+## TODO: need to add escaping
+#macro(url_for_nested_facet $field $value)/solr/itas?fq=$field:%22$value%22#end
#macro(link_to_previous_page $text)
#if($page.current_page_number > 1)