A Step before creation the schema, the config needs to be uploaded to the
zoo keeper. You might want to upconfig

bin/solr zk upconfig -n <name for configset> -d <path to directory
with configset>

more details here...
https://lucene.apache.org/solr/guide/6_6/using-zookeeper-to-manage-configuration-files.html

Regards
Ganesh
On Sun, Apr 29, 2018 at 7:13 PM, THADC <timothy.clotworthy.j...@gmail.com>
wrote:

> Hi,
>
> I created (or thought I was) a new config set by copying the directory
> ~server/solr/configset/_default/* to a new configset:
> ~/server/solr/configset/timConfig. I then added a couple of new indexes to
> the managed-schema file.
>
> I then tried to create a new collection assigned to my new config set by
> executing:
> *
> http://localhost:8983/solr/admin/collections?action=
> CREATE&name=timCollection&numShards=2&replicationFactor=
> 1&collection.configName=timConfig
> *
>
> However, I got the following error:
>
> *responseHeader
> status  400
> QTime   44
> Operation create caused exception:
> "org.apache.solr.common.SolrException:org.apache.solr.
> common.SolrException:
> Can not find the specified config set: timConfig"
> exception
> msg     "Can not find the specified config set: timConfig"
> rspCode 400
> error
> metadata
> 0       "error-class"
> 1       "org.apache.solr.common.SolrException"
> 2       "root-error-class"
> 3       "org.apache.solr.common.SolrException"
> msg     "Can not find the specified config set: timConfig"
> code    400*
>
> grateful for any advice on what I am doing wrong. Thank you
>
>
>
>
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
>

Reply via email to