当前位置:网站首页>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#
边栏推荐
- “微博评论”的高性能高可用计算架构
- 记一次排查线上MySQL死锁过程,不能只会curd,还要知道加锁原理
- Pain points and solutions of M1 notebook home office | community essay solicitation
- Fund valuation, expenses and accounting
- 正则表达式:字符(2)
- Solr基础操作
- redis客户端
- Touch key and key control corresponding LED status reversal
- Software testing interface testing JMeter 5.5 installation tutorial
- 海外数字身份验证服务商ADVANCE.AI入选EqualOcean《2022品牌出海服务市场研究报告》
猜你喜欢

80-Redis详解

Leetcode(76)——最小覆盖子串

Incluxdb time series database system

matplotlib matplotlib可视化之柱状图plt.bar()

Qt中使用QDomDocument和QDomnode来读取xml

什么是IGMP?IGMP与ICMP有啥区别?
Evolution from stand-alone to distributed database storage system
Talk about auto in MySQL in detail_ What is the function of increment

Status acquisition and control system of on-site express cabinet

Leetcode(680)——验证回文字符串 Ⅱ
随机推荐
Polymorphism of laravel association model
均值、方差、标准差、协方差的概念及意义
VS无法定位程序输入点于动态链接库
剑指 Offer 38. 字符串的排列
Principe de réalisation de l'agent dynamique
基金的利润分配与税收
Touch key and key control corresponding LED status reversal
Wechat applet: (update) cloud development wechat group contacts
Solr基础操作
C指针进阶1-->字符指针,数组指针,指针与数组传参,函数指针
Speech signal processing (II): phonation physiology, auditory physiology and auditory psychology
众昂矿业:萤石助力氟产业锂电建设发展
動態代理的實現原理
按头安利!好看又实用的电机 SolidWorks模型素材看这里
Software testing interface testing JMeter 5.5 installation tutorial
Redis client
Mysql database: use the show profile command to analyze performance
CE第二次作业
基于OpenStack的虚拟机在线迁移
Ansible automatic operation and maintenance