无法使用JATE2.0在Solr 7.3.1版中实例化SPI类?

时间:2018-06-07 15:44:12

标签: java class solr installation lucene

我试图在Sorl-7.3.1上安装JATE2.0插件,但有错误请帮忙!

当我打开链接http://localhost:8983/solr/#/jateCore时,我会看到此页:

enter image description here

这是loggin中的错误

java.util.concurrent.ExecutionException: org.apache.solr.common.SolrException: Unable to create core [jateCore]
    at java.util.concurrent.FutureTask.report(FutureTask.java:122)
    at java.util.concurrent.FutureTask.get(FutureTask.java:192)
    at org.apache.solr.core.CoreContainer.lambda$load$14(CoreContainer.java:671)
    at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:176)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$0(ExecutorUtil.java:188)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.solr.common.SolrException: Unable to create core [jateCore]
    at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1053)
    at org.apache.solr.core.CoreContainer.lambda$load$13(CoreContainer.java:642)
    at com.codahale.metrics.InstrumentedExecutorService$InstrumentedCallable.call(InstrumentedExecutorService.java:197)
    ... 5 more
Caused by: org.apache.solr.common.SolrException: Could not load conf for core jateCore: Can't load schema C:\Users\Sonja\jateSolrPluginDemo-master\solr-7.2.1\server\solr\jateCore\conf\schema.xml: Setting defaultSearchField in schema not supported since Solr 7
    at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:97)
    at org.apache.solr.core.CoreContainer.getConfigSet(CoreContainer.java:1081)
    at org.apache.solr.core.CoreContainer.createFromDescriptor(CoreContainer.java:1033)
    ... 7 more
Caused by: org.apache.solr.common.SolrException: Can't load schema C:\Users\Sonja\jateSolrPluginDemo-master\solr-7.2.1\server\solr\jateCore\conf\schema.xml: Setting defaultSearchField in schema not supported since Solr 7
    at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:582)
    at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:179)
    at org.apache.solr.schema.IndexSchemaFactory.create(IndexSchemaFactory.java:56)
    at org.apache.solr.schema.IndexSchemaFactory.buildIndexSchema(IndexSchemaFactory.java:75)
    at org.apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:119)
    at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:92)
    ... 9 more
Caused by: org.apache.solr.common.SolrException: Setting defaultSearchField in schema not supported since Solr 7
    at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:508)
    ... 14 more

0 个答案:

没有答案