diff options
Diffstat (limited to '97suifangqa/env/solr.sh')
-rw-r--r-- | 97suifangqa/env/solr.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/97suifangqa/env/solr.sh b/97suifangqa/env/solr.sh new file mode 100644 index 0000000..ec8d0e8 --- /dev/null +++ b/97suifangqa/env/solr.sh @@ -0,0 +1,12 @@ +wget http://mirror.bit.edu.cn/apache/lucene/solr/3.6.2/apache-solr-3.6.2.tgz -O solr.tgz +tar xzvf solr.tgz + +# 使用方法 +#生成schema.xml: + #./manage.py build_solr_schema > env/apache-solr-3.6.2/example/solr/conf/schema.xml + +#启动solr: + #java -jar env/apache-solr-3.6.2/example/start.jar + +#更新索引: + #./manage.py update_index |