diff options
author | Alvin Li <liweitianux@gmail.com> | 2013-08-13 14:13:24 +0800 |
---|---|---|
committer | Alvin Li <liweitianux@gmail.com> | 2013-08-13 14:13:24 +0800 |
commit | 9636d4a6767f49384d5c386bc3f1142c88b90613 (patch) | |
tree | 3a70f6d9e4be1791d36c87cc7cbfd1d5aa2b39dd /97suifangqa/env/solr.sh | |
parent | 9383d9a8a5988d071766c3d08a5c946e9c5b02ae (diff) | |
download | 97dev-9636d4a6767f49384d5c386bc3f1142c88b90613.tar.bz2 |
cloned from 'bitbucket', 2013/08/13
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 |