Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

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

Shulou Source: shulou.com Published: 2022-06-01 16:33:26 11月12日 Update

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!

Tags: Methods questions pages content reasons more directories success helplessness to this end representatives again methods commands for this suggestions skills yes versions for Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Redmi vpn NVidia MariaDB macOS