Get error in solr copyField dest: 'textnge' is not an explicit field and does not match a dynamic field

I have a problem in the solr schema file, I got an error in solr, see my schema file

<field name="Name" type="text_suggest" indexed="true" stored="true" omitNorms="true" />
   <field name="NameCopy" type="text_suggest" indexed="true" stored="true"  required="false" />


<copyField source="NameCopy" dest="textnge"/>
        <field name="textnge" type="autocomplete_edge" indexed="true" stored="false" />   
        <copyField source="NameCopy" dest="textng"/>
        <field name="textng" type="autocomplete_ngram" indexed="true" stored="true" omitNorms="true" omitTermFreqAndPositions="true" />  
        <copyField source="NameCopy" dest="textphon"/>

Error message: -

org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: copyField dest :'textnge' is not an explicit field and doesn't match a dynamicField.. Schema file is c:\solr\InfiniteScroll\schema.xml 

How to solve this problem, my version of solr is 4.6

Please offer me

Regards, Vinit

+4
source share
1 answer

Two possibilities:

  • Field definitions are not inside the <fields> section and are not picked up by Solr. This requirement goes away in a later Solr (I think 4.8), but for now you need these sections.
  • , XML . XML ( ) , - .
+3

All Articles