[ https://issues.apache.org/jira/browse/SOLR-13018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexandre Rafalovitch closed SOLR-13018. ---------------------------------------- > In solr-cloud mode, It throws an error when i create a collection with schema > that has fieldType containing openNLP tokenizer and filters > ----------------------------------------------------------------------------------------------------------------------------------------- > > Key: SOLR-13018 > URL: https://issues.apache.org/jira/browse/SOLR-13018 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: Admin UI, SolrCloud > Affects Versions: 7.3.1 > Reporter: Parmeshwor Thapa > Priority: Major > > Here is schema for field: > {code:java} > <fieldType name="my_stemming" class="solr.TextField"> > <analyzer> > <tokenizer class="solr.OpenNLPTokenizerFactory" > tokenizerModel="en-token.bin" sentenceModel="en-sent.bin"/> > <filter class="solr.LowerCaseFilterFactory"/> > <filter class="solr.OpenNLPPOSFilterFactory" > posTaggerModel="en-pos-maxent.bin"/> > <filter class="solr.OpenNLPLemmatizerFilterFactory" > dictionary="en-lemmatizer.txt"/> > <filter class="solr.KeywordRepeatFilterFactory"/> > <filter class="solr.PorterStemFilterFactory"/> > <filter class="solr.RemoveDuplicatesTokenFilterFactory"/> > </analyzer> > </fieldType> > {code} > I have configset with all the files(en-token.bin, en-sent.bin, ...) in same > directory. Using that configset i can successfully create Solr Core in > Standalone mode. > But With Solr cloud (two instances in separate servers orchestrated by > zookeeper) i have the same configset in both servers and i try to create a > collection, it is throwing me an error which doesn't make any sense to me. > {code:java} > $ bin/solr create -p 8984 -c xyz -n xyz_conf -d xyz_conf > ... ERROR: Failed to create collection 'xyz' due to: > {example1.com:8984_solr=org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException:Error > from server at https://example2.com:8984/solr: Error CREATEing SolrCore > 'xyz_shard1_replica_n1': Unable to create core [xyz_shard1_replica_n1] Caused > by: Can't find resource 'solrconfig.xml' in classpath or '/configs/xyz', > cwd=/opt/solr-7.3.1/server} > {code} > > > Note: uploading configset to zookeeper also fails with error > {code:java} > $ bin/solr create -c xyz -n xyz_conf -d xyz_conf > ... > — > ERROR: Error uploading file > /opt/solr/server/solr/configsets/xyz/conf/en-pos-maxent.bin to zookeeper path > /configs/xyz/en-pos-maxent.bin > {code} > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org