diff --git a/plugins/solr/js/solr.js b/plugins/solr/js/solr.js index b9c7556df..9b4da09b4 100755 --- a/plugins/solr/js/solr.js +++ b/plugins/solr/js/solr.js @@ -59,7 +59,7 @@ function collectionManagement(){ con += ''+ '' + list[i]['name']+'' + '\ - 命令 \ + 命令 \ | 配置 \ | 删除 \ '; @@ -165,6 +165,20 @@ function confFileCollection(name, conf_file){ } +function cmdCollection(name){ + var cmd = '
'; + cmd += ''; + cmd += ''; + cmd += ''; + cmd += '
增量更新curl "http://127.0.0.1:8983/solr/'+name+'/dataimport?command=delta-import&wt=json&clean=false&commit=true"
权限更新curl "http://127.0.0.1:8983/solr/'+name+'/dataimport?command=full-import&wt=json&clean=false&commit=true"
默认端口:8983(可修改),默认IP为本地,可修改。
'; + + layer.open({ + type: 1, + title: '命令', + area: '750px', + content:cmd, + }); +} function pRead(){ var readme = '