SolrException:maxNumThreadStates必须是> = 1但是:0
在尝试创建核心时,我得到了以下响应。任何人都可以帮忙解决如何处理 maxNumThreadStates 的问题吗?
<?xml version="1.0" encoding="UTF-8"?>
<response>
<lst name="responseHeader">
<int name="status">500</int>
<int name="QTime">629</int>
</lst><lst name="error">
<str name="msg">maxNumThreadStates must be >= 1 but was: 0</str>
<str name="trace">org.apache.solr.common.SolrException: maxNumThreadStates must be >= 1 but was: 0
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.IllegalArgumentException: maxNumThreadStates must be >= 1 but was: 0
at org.apache.lucene.index.DocumentsWriterPerThreadPool.<init>(DocumentsWriterPerThreadPool.java:142)
at org.apache.lucene.index.DocumentsWriterPerThreadPool.clone(DocumentsWriterPerThreadPool.java:360)
at org.apache.solr.update.SolrIndexConfig.toIndexWriterConfig(SolrIndexConfig.java:261)
at org.apache.solr.update.SolrIndexWriter.<init>(SolrIndexWriter.java:80)
at org.apache.solr.update.SolrIndexWriter.create(SolrIndexWriter.java:66)
at org.apache.solr.core.SolrCore.initIndex(SolrCore.java:550)
at org.apache.solr.core.SolrCore.<init>(SolrCore.java:806)
... 38 more
</str><int name="code">500</int></lst><str name="params">name=profile.user&action=CREATE</str>
</response>