当前位置:网站首页>Solr basic operation 1
Solr basic operation 1
2022-06-29 23:23:00 【franket】
install
Download and unzip
Solr Download address
Tip: It lists many addresses , You can select the fastest site nearest to you to download
[email protected] solr# tar -zxvf solr-5.3.0.tgz
solr-5.3.0/LUCENE_CHANGES.txt
solr-5.3.0/contrib/analysis-extras/lib/
solr-5.3.0/contrib/clustering/lib/
solr-5.3.0/contrib/dataimporthandler-extras/lib/
...
...
solr-5.3.0/docs/solr-velocity/resources/titlebar.gif
solr-5.3.0/docs/solr-velocity/resources/titlebar_end.gif
solr-5.3.0/docs/solr-velocity/stylesheet.css
[email protected] solr# ls
solr-5.3.0 solr-5.3.0.tgz
[email protected] solr# cd solr-5.3.0
[email protected] solr-5.3.0# ls
bin CHANGES.txt contrib dist docs example licenses LICENSE.txt LUCENE_CHANGES.txt NOTICE.txt README.txt server
[email protected] solr-5.3.0#
start-up solr
[email protected] solr-5.3.0# bin/solr start -e cloud -noprompt
Welcome to the SolrCloud example!
Starting up 2 Solr nodes for your example SolrCloud cluster.
Creating Solr home directory /data/solr/solr-5.3.0/example/cloud/node1/solr
Cloning /data/solr/solr-5.3.0/example/cloud/node1 into
/data/solr/solr-5.3.0/example/cloud/node2
Starting up Solr on port 8983 using command:
bin/solr start -cloud -p 8983 -s "example/cloud/node1/solr"
Waiting up to 30 seconds to see Solr running on port 8983 []
Started Solr server on port 8983 (pid=3579). Happy searching!
Starting up Solr on port 7574 using command:
bin/solr start -cloud -p 7574 -s "example/cloud/node2/solr" -z localhost:9983
Waiting up to 30 seconds to see Solr running on port 7574 /
Started Solr server on port 7574 (pid=3799). Happy searching!
Connecting to ZooKeeper at localhost:9983 ...
Uploading /data/solr/solr-5.3.0/server/solr/configsets/data_driven_schema_configs/conf for config gettingstarted to ZooKeeper at localhost:9983
Creating new collection 'gettingstarted' using command:
http://localhost:8983/solr/admin/collections?action=CREATE&name=gettingstarted&numShards=2&replicationFactor=2&maxShardsPerNode=2&collection.configName=gettingstarted
{
"responseHeader":{
"status":0,
"QTime":20494},
"success":{"":{
"responseHeader":{
"status":0,
"QTime":19880},
"core":"gettingstarted_shard1_replica2"}}}
Enabling auto soft-commits with maxTime 3 secs using the Config API
POSTing request to Config API: http://localhost:8983/solr/gettingstarted/config
{"set-property":{"updateHandler.autoSoftCommit.maxTime":"3000"}}
Successfully set-property updateHandler.autoSoftCommit.maxTime to 3000
SolrCloud example running, please visit: http://localhost:8983/solr
[email protected] solr-5.3.0#
边栏推荐
- 关于 Apache 的 25 个初中级面试题
- Remember the process of checking online MySQL deadlock. You should not only know curd, but also know the principle of locking
- 25 interview questions about Apache
- flutter 插件版本冲突的解决方法
- Redis client
- 動態代理的實現原理
- 众昂矿业:萤石助力氟产业锂电建设发展
- Project 1 - buffer pool [cmu 15-445645] notes
- The development of grpc
- 大学里遗憾的事,希望你无怨也无悔
猜你喜欢
Procurement intelligence is about to break out, and the "3+2" system of Alipay helps enterprises build core competitive advantages
Software testing interface testing postman testing tool interface testing process execution interface testing interface associated environment variables and global variables built-in dynamic parameter
redis客户端
采购数智化爆发在即,支出宝“3+2“体系助力企业打造核心竞争优势
Welcome the "top ten" of the Municipal Association for science and technology • pay tribute to Lu Yi, a scientific and technological worker: an explorer guarding the transmission security of the power
Qt中使用QDomDocument和QDomnode来读取xml
nrm详解
什么是IGMP?IGMP与ICMP有啥区别?
Sword finger offer 38 Arrangement of strings
Pain points and solutions of M1 notebook home office | community essay solicitation
随机推荐
Go zero micro Service Practice Series (VII. How to optimize such a high demand)
matplotlib matplotlib中plt.hist()参数解释
开源了 | 文心大模型ERNIE-Tiny轻量化技术,又准又快,效果全开
Solr基础操作5
Constexpr function
VS无法定位程序输入点于动态链接库
STM32 basic knowledge points
Wechat applet: picture seconds plus watermark generation
How tcpdump filters specific TCP flag bits
自己收藏的一些网址
关于 Apache 的 25 个初中级面试题
基于OpenStack的虚拟机在线迁移
疫情下我离职一年,收入增长了10倍
Principe de réalisation de l'agent dynamique
Status acquisition and control system of on-site express cabinet
架构实战营模块 5 作业
海外数字身份验证服务商ADVANCE.AI入选EqualOcean《2022品牌出海服务市场研究报告》
Redis client
Leetcode(76)——最小覆盖子串
Mysql database: the difference between drop, truncate and delete