Thanks for the advice. I've downloaded the latest solr-analysis-extra-5.3.0.jar, and have solved the ICU Tokenizer issue. Things are working for newly created cores and indexes.
However, I still couldn't migrate the indexes from Solr 5.2.1. The Solr is not able to start at all when I run this command: bin\solr.cmd start -cloud -p 8983 -s solrMain\node1\solr -m 12g -z "localhost:2181,localhost:2182,localhost:2183" Is there anything that I need to take note of in Solr 5.3? Regards, Edwin On 7 September 2015 at 15:20, davidphilip cherian < davidphilipcher...@gmail.com> wrote: > If you have a look at solr 5.3 'changes.txt', there are some jiras > (resolved) that are related to ICU Tokenizer. You could possibly try taking > the latest jar of this tokenizer from solr 5.3 binaries and replace in 5.2 > and try. > > > > > On Mon, Sep 7, 2015 at 9:49 AM, Zheng Lin Edwin Yeo <edwinye...@gmail.com> > wrote: > > > Hi, > > > > I'm trying to upgrade from Solr 5.2.1 to 5.3.0. My Solr is running on > > SolrCloud and also on external zookeeper 3.4.6. > > > > When I tried to migrate the index over from Solr 5.2.1 to Solr 5.3.0, the > > Solr is not able to startup, and it just give the error saying Solr did > not > > come online within 30 seconds! > > I've put the indexed under solrMain\node1\solr and solrMain\node2\solr as > > I'm running my Solr with 2 notes, and I used the following command to > > start. > > bin\solr.cmd start -cloud -p 8983 -s solrMain\node1\solr -m 12g -z > > "localhost:2181,localhost:2182,localhost:2183" > > > > > > I've also tried not to migrate the index, but to start Solr 5.3.0 without > > any cores and indexes, and tried to create a new core from there from my > > Solr 5.2.1 configurations. However, when I tried to create, I got the > > following error: > > > > org.apache.solr.common.SolrException: Could not load conf for core > > collection1_shard1_replica2: Plugin init failure for [schema.xml] > > fieldType "text_ar": Plugin init failure for [schema.xml] > > analyzer/tokenizer: Error loading class 'solr.ICUTokenizerFactory'. > > Schema file is /configs/collection1/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(Thread.java:745) > > Caused by: org.apache.solr.common.SolrException: Plugin init failure > > for [schema.xml] fieldType "text_ar": Plugin init failure for > > [schema.xml] analyzer/tokenizer: Error loading class > > 'solr.ICUTokenizerFactory'. Schema file is > > /configs/collection1/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 "text_ar": Plugin init failure for > > [schema.xml] analyzer/tokenizer: Error loading class > > 'solr.ICUTokenizerFactory' > > 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: Plugin init failure > > for [schema.xml] analyzer/tokenizer: Error loading class > > 'solr.ICUTokenizerFactory' > > at > > > org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:178) > > at > > > org.apache.solr.schema.FieldTypePluginLoader.readAnalyzer(FieldTypePluginLoader.java:361) > > at > > > org.apache.solr.schema.FieldTypePluginLoader.create(FieldTypePluginLoader.java:104) > > 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: org.apache.solr.common.SolrException: Error loading class > > 'solr.ICUTokenizerFactory' > > at > > > org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:491) > > at > > > org.apache.solr.core.SolrResourceLoader.newInstance(SolrResourceLoader.java:560) > > at > > > org.apache.solr.schema.FieldTypePluginLoader$2.create(FieldTypePluginLoader.java:341) > > at > > > org.apache.solr.schema.FieldTypePluginLoader$2.create(FieldTypePluginLoader.java:334) > > at > > > org.apache.solr.util.plugin.AbstractPluginLoader.load(AbstractPluginLoader.java:152) > > ... 40 more > > Caused by: java.lang.ClassNotFoundException: solr.ICUTokenizerFactory > > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > > at > > java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:810) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > > at java.lang.Class.forName0(Native Method) > > at java.lang.Class.forName(Class.java:348) > > at > > > org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:475) > > ... 44 more > > > > > > This configuration is taken directly from Solr 5.2.1, so what could be > the > > problem? Is ICUTokenizerFactory still supported in Solr 5.3.0? > > > > > > Regards, > > Edwin > > >