当前位置:网站首页>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#
边栏推荐
- 语音信号处理(三):语音信号分析【连续的“模拟信号”--采样、量化、编码-->离散的“数字信号”】
- Mysql database: use the show profile command to analyze performance
- C language tutorial – -6 loop statement
- 利用kubernetes中的leader选举机制来完成自己的HA应用
- 收藏!这些提高程序员生产力的工具你用过吗?
- Principe de réalisation de l'agent dynamique
- 语音信号处理(二): 发声生理、听觉生理与听觉心理
- The soft youth under the blessing of devcloud makes education "smart" in the cloud
- [learn FPGA programming from scratch -51]: high level chapter - FPGA development based on IP core - what is FPGA IP core (soft core, fixed core, hard core) and learning methods
- JS function related review
猜你喜欢

Design of Distributed Message Oriented Middleware

Wechat applet: big red festive UI guessing lantern riddles is also called guessing character riddles

Regular expressions: characters (2)

字节云数据库未来方向的探索与实践

Processing of error b6267342 reported by AIX small machine in production environment

How to solve the problem that the computer time is not automatically updated after proofreading

Intranet penetration (NC)

Node data collection and remote flooding transmission of label information

Wechat applet: picture seconds plus watermark generation

软件测试 接口测试 Jmeter 5.5 安装教程
随机推荐
字节云数据库未来方向的探索与实践
VS无法定位程序输入点于动态链接库
Open source the Ernie tiny lightweight technology of "Wenxin big model", which is accurate and fast, with full effect
SYSTEMd debugging
Implementation principle of dynamic agent
2022年PMP项目管理考试敏捷知识点(5)
111.简易聊天室14:聊天室客户端
Still stay up late every day and work overtime to make statements? In fact, you don't know how to make reports efficiently
[从零开始学习FPGA编程-51]:高阶篇 - 基于IP核的FPGA开发- 什么是FPGA IP核(软核、固核、硬核)与学习方法
Remember the process of checking online MySQL deadlock. You should not only know curd, but also know the principle of locking
The server quickly sets up the alist integrated network disk website [pagoda panel one click deployment of alist]
js函数相关的复习
Is it safe to open an account on the flush? Where to apply for opening an account
SQL question brushing 595 Big country
Status acquisition and control system of on-site express cabinet
Speech signal processing (II): phonation physiology, auditory physiology and auditory psychology
疫情下我离职一年,收入增长了10倍
Laravel creates its own facade extension geoip to obtain country, region and city information according to IP
Does Australia require that PVC plastic sheets comply with as/nzs 1530.3 with a flame spread index of 0?
语音信号处理(二): 发声生理、听觉生理与听觉心理