Re: Programmatically creating a collection with a schema

2024-09-06 Thread Shawn Heisey
On 8/25/2024 02:59, org.apache.s...@io7m.com wrote: Thanks. So from what I can make out, it looks like the application would be given the name of an existing ConfigSet. It would then download that ConfigSet, replace the schema with its own, and then create a new ConfigSet based on the old one wit

Re: Programmatically creating a collection with a schema

2024-08-25 Thread org . apache . solr
On 24/08/2024 22:43, Shawn Heisey wrote: > The ConfigSet API is for maintaining configsets.  There is a way to use > configsets in standalone mode, but SolrCloud is preferred. > > A configset consists of solrconfig.xml, managed-schema.xml (or > schema.xml if using the classic schema factory), and

Re: Programmatically creating a collection with a schema

2024-08-24 Thread Shawn Heisey
On 8/24/2024 12:59, org.apache.s...@io7m.com wrote: I have a schema.xml file locally. I want to create a new collection programmatically, and set the schema for that collection to be exactly the contents of schema.xml. No more, no less. There's a ConfigSets API that purports to allow for spe

Re: Programmatically creating a collection with a schema

2024-08-24 Thread org . apache . solr
On 24/08/2024 19:14, Dmitri Maziuk wrote: > > If the application specified the number of shards and replicas when it > created the collection, it should know what it asked for. This is a separate issue, but purely from the perspective of an application developer, I don't feel like I should have to

Re: Programmatically creating a collection with a schema

2024-08-24 Thread Dmitri Maziuk
On 8/24/24 13:59, org.apache.s...@io7m.com wrote: Hello. I have a schema.xml file locally. I want to create a new collection programmatically, and set the schema for that collection to be exactly the contents of schema.xml. No more, no less. There's a collection API that allows me to create the