Unknown fieldType "cndate" specified on field birth. appears whenever I use type= "cndate"
when I comment on this line of code, the program can run. Not only "cndate", but also "int" and "text_ik" will report the same mistake.
related codes
Code of the schema.xml file
<field name="userName" type="string" indexed="true" stored="true" omitNorms="true"/>
<field name="sex" type="boolean" indexed="true" stored="true" omitNorms="true"/>
<field name="birth" type="cndate" indexed="true" stored="true" omitNorms="true"/>
<field name="salary" type="int" indexed="true" stored="true" omitNorms="true"/>
<field name="text" type="text_ik" indexed="true" stored="true" omitNorms="true" multiValued="false"/>
<field name="author" type="string" indexed="true" stored="true"/>
<field name="title" type="string" indexed="true" stored="true"/>
<field name="fileName" type="string" indexed="true" stored="true"/>
<field name="filePath" type="string" indexed="true" stored="true" required="true" multiValued="false"/>
<field name="size" type="long" indexed="true" stored="true" />
<field name="lastModified" type="cndate" indexed="true" stored="true"/>
<field name="id" type="string" indexed="true" stored="true" required="false" multiValued="false" />
what result do you expect? What is the error message actually seen?
error problem log: new2_core: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load conf for core new2_core: Can"t load schema cndate" specified on field birth cndate" specified on field birth
how do you specify these types in solr?
solr is version 7.5