Hi there,

I am trying to get solr indexing mysql tables. Seems like I have
misconfigured schema.xml:

HTTP ERROR: 500

Severe errors in solr configuration.

-------------------------------------------------------------
org.apache.solr.common.SolrException: copyField destination :'text' does
not exist
        at
        
org.apache.solr.schema.IndexSchema.registerCopyField(IndexSchema.java:685)


My config looks like this:

 <fields>
        <field name="id" type="string" indexed="true" stored="true"
        required="true"/>
        <field name="phrase" type="text" indexed="true" stored="true"
        required="true"/>
        <field name="country" type="text" indexed="true" stored="true"
        required="true"/>
 </fields>

 <uniqueKey>id</uniqueKey>
 <!-- field for the QueryParser to use when an explicit fieldname is
 absent -->
 <defaultSearchField>phrase</defaultSearchField>


What is wrong within this config? The type schould be OK.

-- 
http://www.fastmail.fm - Choose from over 50 domains or use your own

Reply via email to