当前位置:网站首页>Solr (II) Solr adds core and dependent package path
Solr (II) Solr adds core and dependent package path
2022-06-11 16:45:00 【Peach】
Because the project needs , Learned and summarized solr Content , Last time I summed up solr Installation and permission control of , You can view what you want to know Solr Installation and authority control of , Then let's sum up solr How to add a core core And its dependent package path configuration , Direct above
Content :
1. Solr add to core
2. Packet routing problem
One :Solr add to core
1. newly build core1
Enter into solrhome Folder , Create a folder , For storing your core, for example core1
2. Copy content
Enter into server\solr\configsets\sample_techproducts_configs Folder , Under this folder conf Copy the directory to the newly created core Under folder , namely core1 Under the folder
3. Management interface add core
Enter... In the browser http://localhost:8080/solr/index.html, Get into solr Manage Pages , Click on the left add core, stay name and instanceDir Enter... For each of the following cores( Steps in 2 Get the name in ) , Click on add core that will do
And then enter into \cores Catalog , You'll find one more data Folders and one properties file .
data Catalog , Used to store index files ,core.properties The file is used to store core Configuration information .
Here we are solr Build , And the first one core This is the end of .
Be careful : Adding multiple core When , You can directly put core1 Copy , Only need to modify core.properties file , The inside name Give it back to the present core The name of ; Or use the above method again , On the management page, click add Add new core.
Two : Package dependent path problem
Be careful : After adding core after , Try putting in the data , Restart solr when , I can't find some jar The mistake of the bag , That is, the scanning package path is incorrect , You need to modify the location of the dependent package
1: Copy move
take /solr-7.1.0 Under the contrib and dist Copy folder to and solrhome In the same level folder .
3. modify \solrHome\core1\conf Under the solrconfig.xml, Change to the following
<libdir="${solr.install.dir:../..}/contrib/extraction/lib"regex=".*\.jar" />
<libdir="${solr.install.dir:../..}/dist/"regex="solr-cell-\d.*\.jar" />
......................
<lib dir="${solr.install.dir:../..}/dist/"regex="solr-velocity-\d.*\.jar" />
边栏推荐
- ASP. Net education OA system source code education industry OA system source code with document
- ASP.NET教育OA系统源码 教育行业OA系统源码带文档
- unittest 如何知道每个测试用例的执行时间
- RDKit教程
- Learn about Prometheus from 0 to 1
- 做跨境电商卖什么产品好?热销类目有哪些?
- Le compte de titres de l'école de commerce kainiu est - il sécurisé? Frais d'ouverture de compte
- 虚拟局域网划分与虚拟局域网间路由(VLAN)
- Differences between list and set access elements
- Switching power supply circuit diagram and principle 12V analysis - detailed version
猜你喜欢

Memory image of various data types in C language

What is a generic? Why use generics? How do I use generics? What about packaging?

Redis --- 学习 NoSQL 五大类型

Student website template brown cake dessert website design - brown cake dessert shop (4 pages) gourmet dessert website production final assignment finished product_ Fresh fruit web design final assign

^32执行上下文栈面试题

2022年安全员-B证国家题库及模拟考试

C语言各数据类型的内存映像

pycharm和anaconda的基础上解决Jupyter连接不上Kernel(内核)的问题--解决方案1

Differences between list and set access elements

Text driven for creating and editing images (with source code)
随机推荐
Le compte de titres de l'école de commerce kainiu est - il sécurisé? Frais d'ouverture de compte
Using MATLAB and dcraw to process digital camera raw files
Rdkit installation
What is RS stamp paper?
7个人生工具:SWOT、PDCA、6W2H、SMART、WBS、时间管理、二八原则
Global and Chinese molten carbonate fuel cell industry outlook and market panoramic Research Report 2022-2028
GemBox.Bundle 43.0 Crack
How unittest knows the execution time of each test case
每周推荐短视频:菜鸟CEO谈未来物流新赛道
2022年安全员-B证国家题库及模拟考试
solr(一)solr的安装及权限控制
Oracle数据库合并行记录,WMSYS.WM_CONCAT 函数的用和MySQL 中GROUP_CONCAT(id)的使用及比较。
^32 execution context stack interview questions
瑞吉外卖项目(三)员工管理业务开发
2022熔化焊接与热切割上岗证题目及模拟考试
Switching power supply circuit diagram and principle 12V analysis - detailed version
【opencvsharp】opencvsharp_ samples. Core sample code Notes
启牛推荐开通的股票账户安全吗?靠谱吗
Wechat applet timestamp conversion time format + time subtraction
C starts an external EXE file and passes in parameters