Collections API

You can use the collections API only when you run Solr in Solr Cloud mode.

Otherwise you get the following error message:

Solr instance is not running in SolrCloud mode

Field types

The field types coming with Solr are documented here: https://lucene.apache.org/solr/guide/8_3/field-types-included-with-solr.html#field-types-included-with-solr

However the field types needed for the API are a single word, e.g.

boolean

BoolField

pdate

DatePointField

You can find the API field name for each field in your Solr installation at server/solr/configsets/_default/conf/managed-schema.