Solr 5.4.0
生活随笔
收集整理的這篇文章主要介紹了
Solr 5.4.0
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
2019獨角獸企業重金招聘Python工程師標準>>>
1.1.?下載
下載地址:http://lucene.apache.org/solr/
環境要求:jdk1.7+以上,下載地址
http://www.oracle.com/technetwork/java/javase/downloads/index.html
1.2.?啟動
?? 將命令窗口移動到角色的目錄下,正面的命令如果不是在window上執行,則執行文件沒有 .cmd后綴.
1.2.1.?普通啟動
?$?bin\solr.cmd?start1.2.2.?指定端口啟動
$?bin\solr.cmd?start?-p?8993 $bin\solr.cmd?start?-f啟動后的管理界面:http://localhost:8993/solr/admin/
1.2.4.?更多
$?bin\solr.cmd?start?-help1.2.5.?停止指定端口
bin\solr.cmd?stop?-p?89931.2.6.?停止本機所有
?$bin\solr.cmd?stop?-all啟動一個指定的實例:單一實例
?$bin\solr.cmd?-e?techproducts?
查看solr狀態:
$bin\solr.cmd?status創建實例
$?bin/solr.cmd?create?-c?<name>輸出的內容如下:
?
Creating?new?core?'dick'?using?command: http://localhost:8983/solr/admin/cores?action=CREATE&name=dick&instanceDir=dick {"responseHeader":{"status":0,"QTime":1152},"core":"dick"}轉載于:https://my.oschina.net/u/2553994/blog/601530
總結
以上是生活随笔為你收集整理的Solr 5.4.0的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux系统下源码安装mysql5.6
- 下一篇: 创建与合并分支-git入门教程