Re: SolrCloud multiple collections each with unique schema via SolrJ?

2016-05-17 Thread Boman
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

SolrCloud multiple collections each with unique schema via SolrJ?

2016-05-17 Thread Boman
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-schema

NumberFormatException when inserting String into field of type string

2016-05-16 Thread Boman
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

getZkStateReader() returning NULL

2016-05-04 Thread Boman
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();

Re: Making managed schema unmutable correctly?

2016-04-22 Thread Boman
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.

Re: Making managed schema unmutable correctly?

2016-04-21 Thread Boman
From: "Boman [via Lucene]" <ml-node+s472066n4272073...@n3.nabble.com<mailto:ml-node+s472066n4272073...@n3.nabble.com>> Date: Thursday, April 21, 2016 at 9:52 PM To: Boman Irani <bir...@apttus.com<mailto:bir...@apttus.com>> Subject: Re: Making managed schema u

Re: Making managed schema unmutable correctly?

2016-04-21 Thread Boman
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.

Re: Making managed schema unmutable correctly?

2016-04-21 Thread Boman
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 '{