如何避免警告在solr搜索中没有定义queryCOnverter。
答案 0 :(得分:1)
要摆脱这个问题请在下面添加补丁:
diff --git solrconfig.xml solrconfig.xml
index 37b7913..dd9bb62 100644
--- solrconfig.xml
+++ solrconfig.xml
@@ -570,6 +570,8 @@
文件:solrconfig.xml,将以下代码添加到</searchComponent>
代码
<queryConverter name="queryConverter" class="solr.SpellingQueryConverter"/>
<!-- a search component that enables you to configure the top results for
a given query regardless of the normal lucene scoring.-->
<searchComponent name="elevator" class="solr.QueryElevationComponent" >
感谢!!!