当前位置:网站首页>Solr基础操作1
Solr基础操作1
2022-06-29 23:01:00 【franket】
安装
下载与解压
Solr下载地址
Tip: 里面列举了很多地址,可以选取一个离自己最近的最快的站点下载
[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#
启动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#
边栏推荐
- 分布式消息中间件设计
- flutter 插件版本冲突的解决方法
- Number theory - division and blocking
- Database - playful data -pgsql uses UUID as primary key
- Open source the Ernie tiny lightweight technology of "Wenxin big model", which is accurate and fast, with full effect
- Qt中使用QDomDocument和QDomnode来读取xml
- 什么是IGMP?IGMP与ICMP有啥区别?
- Software testing interface testing JMeter 5.5 installation tutorial
- 基金的估值,费用,会计核算
- STM32 basic knowledge points
猜你喜欢

redis客户端

优雅的改造短信业务模块,策略模式走起!
![The server quickly sets up the alist integrated network disk website [pagoda panel one click deployment of alist]](/img/96/3e634c173c96082881286ba402a067.png)
The server quickly sets up the alist integrated network disk website [pagoda panel one click deployment of alist]

CE第二次作业

Deep parsing of kubernetes controller runtime
![PROJECT #1 - BUFFER POOL [CMU 15-445645]笔记](/img/33/304e3e78f62b156d0863a41d243679.png)
PROJECT #1 - BUFFER POOL [CMU 15-445645]笔记

Problem solving metauniverse, multi communication scheme in online games

Remember the process of checking online MySQL deadlock. You should not only know curd, but also know the principle of locking

语音信号处理(二): 发声生理、听觉生理与听觉心理

Constexpr function
随机推荐
软件测试 接口测试 Jmeter 5.5 安装教程
grpc的开发详解
采购数智化爆发在即,支出宝“3+2“体系助力企业打造核心竞争优势
[从零开始学习FPGA编程-51]:高阶篇 - 基于IP核的FPGA开发- 什么是FPGA IP核(软核、固核、硬核)与学习方法
利用kubernetes中的leader选举机制来完成自己的HA应用
Problem solving metauniverse, multi communication scheme in online games
Go zero micro Service Practice Series (VII. How to optimize such a high demand)
Touch key and key control corresponding LED status reversal
Inspiration collection · evaluation of creative writing software: flomo, obsidian memo, napkin, flowus
什么是IGMP?IGMP与ICMP有啥区别?
还天天熬夜加班做报表?其实你根本不懂如何高效做报表
uniapp复制内容到剪贴板
80-Redis详解
Wireshark data analysis and forensics information pacapng
微博系统中”微博评论“的高性能高可用计算架构
label問題排查:打不開標注好的圖像
Some of my favorite websites
Project 1 - buffer pool [cmu 15-445645] notes
Database - playful data -pgsql uses UUID as primary key
Mysql database: read write separation