mirror of https://github.com/apache/lucene.git
Use generic url_for_solr prefix, allowing one global config change for a core path or different Solr mapping
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@955905 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5d964485d4
commit
363527dbe0
|
@ -12,7 +12,7 @@
|
|||
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
$("\#q").autocomplete('/solr/terms', { ## backslash escaped #q as that is a macro defined in VM_global_library.vm
|
||||
$("\#q").autocomplete('#{url_for_solr}/terms', { ## backslash escaped #q as that is a macro defined in VM_global_library.vm
|
||||
extraParams:{
|
||||
'terms.prefix': function() { return $("\#q").val();},
|
||||
'terms.sort': 'count',
|
||||
|
|
Loading…
Reference in New Issue