Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The solution to the Cannot load analyzer problem of solrcloud page display error is

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Solrcloud page display error Cannot load analyzer problem solution is, I believe that many inexperienced people do not know what to do, so this article summarizes the causes of the problem and solutions, through this article I hope you can solve this problem.

After Solrcloud starts, the interface displays the error message as follows:

Chenfeng_shard1_replica2: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load conf for core chenfeng_shard1_replica2: Can't load schema managed-schema: Plugin init failure for [schema.xml] fieldType "text_zh": Cannot load analyzer: org.wltea.analyzer.lucene.IKAnalyzer

Cause of error:

Because it was started with jeety, the ik participle jar package was not added to the solr/server/solr-webapp/webapp/WEB-INF/lib directory after adding the IK participle definition.

Solution: add the IKjar package IKAnalyzer-2016_FS.jar to this directory (the jar package is recommended for solrcloud version 6.1, if not, download it online)

After adding, re-reload the contents of the collection with the following command:

Http://192.168.184.120:8080/solr/admin/collections?action=RELOAD&name=chenfeng

Success represents reload success:

Open the page again and display normally:

After reading the above, have you mastered the solution to the problem of error Cannot load analyzer in solrcloud page display? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report