Drupal 7 从drush索引时Solr搜索api附件失败

Drupal 7 从drush索引时Solr搜索api附件失败,drupal-7,solr5,drupal-search,Drupal 7,Solr5,Drupal Search,配置:PHP5.6solr-5.5.5RHEL7Drupal7Search\uAPI\uAttachments7.x NDE索引成功,但附件搜索不起作用。 通过drush sapi-i'my_Index_name'编制索引时,会出现以下错误: "WD search_api_attachments: SearchApiException: "500" Status: Server Error: Server

配置:
PHP5.6solr-5.5.5RHEL7Drupal7Search\uAPI\uAttachments7.x

NDE索引成功,但附件搜索不起作用。 通过
drush sapi-i'my_Index_name'
编制索引时,会出现以下错误:

"WD search_api_attachments: SearchApiException: "500" Status: Server Error: Server                                                                                                               [error]
Error{"error":{"metadata":{"error-class":"org.apache.solr.common.SolrException","root-error-class":"java.lang.ClassNotFoundException"},"msg":"Error loading class
'solr.extraction.ExtractingRequestHandler'","trace":"org.apache.solr.common.SolrException: Error loading class 'solr.extraction.ExtractingRequestHandler'\n\tat
org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:558)\n\tat org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:489)\n\tat
org.apache.solr.core.SolrCore.createInstance(SolrCore.java:566)\n\tat org.apache.solr.core.PluginBag$LazyPluginHolder.createInst(PluginBag.java:363)\n\tat
org.apache.solr.core.PluginBag$LazyPluginHolder.get(PluginBag.java:348)\n\tat org.apache.solr.core.PluginBag.get(PluginBag.java:148)\n\tat
org.apache.solr.handler.RequestHandlerBase.getRequestHandler(RequestHandlerBase.java:231)\n\tat org.apache.solr.core.SolrCore.getRequestHandler(SolrCore.java:1362)\n\tat
org.apache.solr.servlet.HttpSolrCall.extractHandlerFromURLPath(HttpSolrCall.java:328)\n\tat org.apache.solr.servlet.HttpSolrCall.init(HttpSolrCall.java:298)\n\tat
org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:414)\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:257)\n\tat
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:208)\n\tat org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)\n\tat
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)\n\tat org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)\n\tat
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)\n\tat org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)\n\tat
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)\n\tat org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)\n\tat
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)\n\tat org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)\n\tat
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)\n\tat org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)\n\tat
org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)\n\tat org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)\n\tat
org.eclipse.jetty.server.Server.handle(Server.java:499)\n\tat org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)\n\tat
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)\n\tat org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)\n\tat
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)\n\tat org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)\n\tat
java.lang.Thread.run(Thread.java:748)\nCaused by: java.lang.ClassNotFoundException: solr.extraction.ExtractingRequestHandler\n\tat
java.net.URLClassLoader.findClass(URLClassLoader.java:382)\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:418)\n\tat
java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:817)\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:351)\n\tat java.lang.Class.forName0(Native Method)\n\tat
java.lang.Class.forName(Class.java:348)\n\tat org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:542)\n\t... 32 more\n","code":500}}
 in SearchApiSolrConnection->checkResponse() (line 546 of /var/www/dxstore/sites/all/modules/contrib/search_api_solr/includes/solr_connection.inc).
WD search_api_attachments: SearchApiException: "500" Status: Server Error: Server                                                                                                           [error]
"
但Solr的所有其他搜索和列表功能都运行良好,但通过附件进行搜索却不起作用


有人能告诉我哪里出了问题。

在Solr 5.5.5的文档中,第200页提到“如果您没有使用提供的示例\u techproducts\u Config或数据\u driven\u schema\u Config igs配置集,您必须配置自己的solrconfig.xml,以了解包含ExtractingRequestHandler的Jar及其依赖项:

因此,在更正了Core的conf/folder中solrconfig.xml路径中的所有.jar文件路径之后,问题仍然存在。但是当我把
改成
它工作正常,在索引附件时不再出错