org.apache.solr.common.SolrException

Could not load conf for core mProduct: Plugin init failure for [schema.xml] fieldType "string": Error loading class 'de.hybris.platform.solrfacetsearch.ysolr.similarity.FixedTFIDFSimilarityFactory'. Schema file is E:\hybris\config\solr\instances\default\configsets\default\conf\schema.xml

Samebug tips5

This might be an issue with the file location in the Spark submit command. Try it with "spark-submit --master spark://master:7077 hello_world_from_pyspark.py {file location}"

Check if you've set a name in Application -> Run. If you didn't, the generated XML is gonna have missing information and then this exception will be thrown.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web1761

  • via Stack Overflow by AppleBud
    , 1 year ago
    Could not load conf for core mProduct: Plugin init failure for [schema.xml] fieldType "string": Error loading class 'de.hybris.platform.solrfacetsearch.ysolr.similarity.FixedTFIDFSimilarityFactory'. Schema file is E:\hybris\config\solr\instances\default\configsets\default\conf\schema.xml
  • Could not load conf for core development: Plugin init failure for [schema.xml] fieldType "text": Plugin init failure for [schema.xml] analyzer/tokenizer: Error loading class 'solr.ICUTokenizerFactory'. Schema file is /home/ubuntu/scholarspace/jetty/solr/development-core/conf/schema.xml
  • via Google Groups by Unknown author, 9 months ago
    Could not load conf for core search: Plugin init failure for [schema.xml] fieldType "text": Plugin init failure for [schema.xml] analyzer/filter: Error loading class 'solr.ICUFoldingFilterFactory'. Schema file is D:/IntellijProjects/dspace-5.5/dspace-deploy/solr\search\conf\schema.xml
  • Stack trace

    • org.apache.solr.common.SolrException: Could not load conf for core mProduct: Plugin init failure for [schema.xml] fieldType "string": Error loading class 'de.hybris.platform.solrfacetsearch.ysolr.similarity.FixedTFIDFSimilarityFactory'. Schema file is E:\hybris\config\solr\instances\default\configsets\default\conf\schema.xml at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:80) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:725) at org.apache.solr.core.CoreContainer.create(CoreContainer.java:701) at org.apache.solr.handler.admin.CoreAdminHandler.handleCreateAction(CoreAdminHandler.java:629) at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestInternal(CoreAdminHandler.java:214) at org.apache.solr.handler.admin.CoreAdminHandler.handleRequestBody(CoreAdminHandler.java:194) at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:143) at org.apache.solr.servlet.HttpSolrCall.handleAdminRequest(HttpSolrCall.java:675) at org.apache.solr.servlet.HttpSolrCall.call(HttpSolrCall.java:443) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:210) at org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:179) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:499) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.solr.common.SolrException: Plugin init failure for [schema.xml] fieldType "string": Error loading class 'de.hybris.platform.solrfacetsearch.ysolr.similarity.FixedTFIDFSimilarityFactory'. Schema file is E:\hybris\config\solr\instances\default\configsets\default\conf\schema.xml at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:596) at org.apache.solr.schema.IndexSchema.<init>(IndexSchema.java:175) at org.apache.solr.schema.IndexSchemaFactory.create(IndexSchemaFactory.java:55) at org.apache.solr.schema.IndexSchemaFactory.buildIndexSchema(IndexSchemaFactory.java:69) at org.apache.solr.core.ConfigSetService.createIndexSchema(ConfigSetService.java:104) at org.apache.solr.core.ConfigSetService.getConfig(ConfigSetService.java:75) ... 30 more Caused by: org.apache.solr.common.SolrException: Plugin init failure for [schema.xml] fieldType "string": Error loading class 'de.hybris.platform.solrfacetsearch.ysolr.similarity.FixedTFIDFSimilarityFactory' at org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:178) at org.apache.solr.schema.IndexSchema.readSchema(IndexSchema.java:489) ... 35 more Caused by: org.apache.solr.common.SolrException: Error loading class 'de.hybris.platform.solrfacetsearch.ysolr.similarity.FixedTFIDFSimilarityFactory' at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:491) at org.apache.solr.core.SolrResourceLoader.newInstance(SolrResourceLoader.java:560) at org.apache.solr.core.SolrResourceLoader.newInstance(SolrResourceLoader.java:525) at org.apache.solr.schema.IndexSchema.readSimilarity(IndexSchema.java:977) at org.apache.solr.schema.FieldTypePluginLoader.create(FieldTypePluginLoader.java:109) at org.apache.solr.schema.FieldTypePluginLoader.create(FieldTypePluginLoader.java:52) at org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:152) ... 36 more Caused by: java.lang.ClassNotFoundException: de.hybris.platform.solrfacetsearch.ysolr.similarity.FixedTFIDFSimilarityFactory at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.net.FactoryURLClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:475) ... 42 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    26 times, 18 hours ago
    30 times, 3 days ago
    Once, 6 days ago
    Once, 2 weeks ago
    1669 more bugmates