当前位置:网站首页>Introduction and installation of Solr
Introduction and installation of Solr
2022-07-01 03:06:00 【YH is the mark of the moon】
Search solutions -Solr
solr Introduction to
Most search engine applications must have some kind of search function , The problem is that search functions are often a huge resource consumption, and they drag down the performance of your application due to heavy database loading . That's why it's a good idea to transfer the load to an external search server ,Apache Solr Is a popular open source search server , It works by using something like REST Of HTTP API, This ensures that you can use it from almost any programming language solr.
Solr It's an open source search platform , For building search applications . It is based on Lucene( Full text search engine ) above . Solr It's enterprise class , Fast and highly scalable . Use Solr The application built is very complex , Can provide high performance .
Solr You can talk to Hadoop Use it together . because Hadoop Deal with a lot of data ,Solr Help us find the information we need from such a large source . It's not just about searching ,Solr It can also be used for storage purposes . Like other NoSQL The database is the same , It is a non relational data storage and processing technology .
All in all ,Solr It's a scalable , Deployable , Search for / Storage engine , Optimize search for large amounts of text centric data .
solr Installation
because solr Need to be in tomcat Operating under the environment of , therefore solr The installation steps are :
1: install Tomcat, Unzip it .

2: decompression solr.
3: hold solr Under the dist Catalog solr-4.10.3.war Deploy to Tomcat\webapps Next ( Remove version number ).
4: start-up Tomcat decompression war package
Click on :
function tomcat Program .
5: hold solr Next example/lib/ext All the jar package , Add to solr In the project (\WEB-INF\lib Under the table of contents ).
6: Create a solrhome .solr Under the /example/solr A directory is a solrhome. Copy this directory to D The disk was renamed solrhome .
7: relation solr And solrhome. Need modification solr engineering web.xml file .

Final successful result :

边栏推荐
- MySQL knowledge points
- How to verify whether the contents of two files are the same
- 世界上最好的学习法:费曼学习法
- 【小程序项目开发--京东商城】uni-app之自定义搜索组件(上)
- Prototype and prototype chain in JS
- UE4 rendering pipeline learning notes
- Error accessing URL 404
- Ipmitool download address and possible problems during compilation and installation
- 调试定位导航遇到的问题总结
- Restcloud ETL practice to realize incremental data synchronization without identification bit
猜你喜欢

【机器学习】向量化计算 -- 机器学习路上必经路

Restcloud ETL practice data row column conversion

EtherCAT简介

Dell server restart Idrac method

Voici le programme de formation des talents de SHARE Creators!

【小程序项目开发-- 京东商城】uni-app之首页商品楼层

手把手带你了解一块电路板,从设计到制作(干货)

Saving images of different depths in opencv

Cloud native annual technology inventory is released! Ride the wind and waves at the right time

The best learning method in the world: Feynman learning method
随机推荐
Here comes the share creators budding talent training program!
Mnasnet learning notes
An article explaining the publisher subscriber model and the observer model
Contrastive learning of Class-agnostic Activation Map for Weakly Supervised Object Localization and
If I am in Beijing, where is a better place to open an account? In addition, is it safe to open a mobile account?
Huawei operator level router configuration example | BGP VPLS and LDP VPLS interworking example
Druid监控统计数据源
Od modify DLL and exe pop-up contents [OllyDbg]
一文讲解发布者订阅者模式与观察者模式
[PR # 5 A] two way running (state pressure DP)
LeetCode_栈_困难_227.基本计算器(不含乘除)
最新接口自动化面试题
Completely solve the lost connection to MySQL server at 'reading initial communication packet
Metadata in NFT
【小程序项目开发--京东商城】uni-app之自定义搜索组件(上)
Scale SVG to container without mask / crop
How to verify whether the contents of two files are the same
Mouse over effect II
MySQL index --01--- design principle of index
How the network is connected: Chapter 2 (Part 2) packet receiving and sending operations between IP and Ethernet