Got it! I now use uploadConfig to load the default config for each new
collection I create, and then modify the schema. Thanks!
--
View this message in context:
http://lucene.472066.n3.nabble.com/SolrCloud-multiple-collections-each-with-unique-schema-via-SolrJ-tp4277397p4277406.html
Sent from t
f the default schema, and
following any updates to that schema, it should remain Collection-specific.
Any suggestions on how to achieve this programmatically? Thanks.
--Boman.
--
View this message in context:
http://lucene.472066.n3.nabble.com/SolrCloud-multiple-collections-each-with-unique-s
Something's not right.
org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: Error from
server at http://10.204.10.19:8983/solr/00D61007927_shard1_replica2:
java.lang.NumberFormatException: For input string: "A1"
at
org.apache.solr.client.solrj.impl.CloudSolrClient.directUpd
I am attempting to check for existence of a collection prior to creating a
new one with that name, using Solrj:
System.out.println("Checking for existence of collection...");
ZkStateReader zkStateReader = this.server.getZkStateReader();
zkStateReader.updateClusterState();
Solved it - had to make sure default requestHander was configured for
spellcheck.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Making-managed-schema-unmutable-correctly-tp4264051p4272235.html
Sent from the Solr - User mailing list archive at Nabble.com.
From: "Boman [via Lucene]"
mailto:ml-node+s472066n4272073...@n3.nabble.com>>
Date: Thursday, April 21, 2016 at 9:52 PM
To: Boman Irani mailto:bir...@apttus.com>>
Subject: Re: Making managed schema unmutable correctly?
Thanks @Erick. You are right. That collection is not
Thanks @Erick. You are right. That collection is not using a managed-schema.
Works now!
--
View this message in context:
http://lucene.472066.n3.nabble.com/Making-managed-schema-unmutable-correctly-tp4264051p4272073.html
Sent from the Solr - User mailing list archive at Nabble.com.
Where do I find the shema.xml to hand edit? I can't find it on my node
running ZK.
I'm not sure what's happening, but when I try to add a field to the schema
for one of the collections (I am running in SolrCloud mode), I get:
curl -X POST -H 'Content-type:application/json' --data-binary '{ "add-f