当前位置:网站首页>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#
边栏推荐
- 架构实战营模块 5 作业
- 111.简易聊天室14:聊天室客户端
- 0. grpc environment setup
- Fund information disclosure
- matplotlib matplotlib中plt.hist()参数解释
- label問題排查:打不開標注好的圖像
- 疫情下我离职一年,收入增长了10倍
- How to solve the problem that the computer time is not automatically updated after proofreading
- Software testing interface testing postman testing tool interface testing process execution interface testing interface associated environment variables and global variables built-in dynamic parameter
- 数据库-玩转数据-Pgsql 使用UUID做主键
猜你喜欢
随机推荐
Wechat applet: big red festive UI guessing lantern riddles is also called guessing character riddles
MetaQ集群安裝測試
動態代理的實現原理
80-Redis详解
Mysql database: read write separation
采购数智化爆发在即,支出宝“3+2“体系助力企业打造核心竞争优势
海外数字身份验证服务商ADVANCE.AI入选EqualOcean《2022品牌出海服务市场研究报告》
开源了 | 文心大模型ERNIE-Tiny轻量化技术,又准又快,效果全开
Qdomdocument and qdomnode are used in QT to read XML
High performance and high availability computing architecture of "microblog comments" in microblog system
正则表达式:字符(2)
Solr基础操作5
[从零开始学习FPGA编程-51]:高阶篇 - 基于IP核的FPGA开发- 什么是FPGA IP核(软核、固核、硬核)与学习方法
Fund valuation, expenses and accounting
大学里遗憾的事,希望你无怨也无悔
flutter 插件版本冲突的解决方法
Remember the process of checking online MySQL deadlock. You should not only know curd, but also know the principle of locking
label問題排查:打不開標注好的圖像
constexpr 函数
25 interview questions about Apache









