Hi, I have a data-config file where I map the fields of a very simple table
using dynamic field definitions : 

        <document name="names">
                <entity name="names" query="select * from test">
                        <field column="id" name="id_i" />
                        <field column="name" name="name_s" />
                        <field column="city" name="city_s" />
                </entity>
        </document>

but when I run the dataimport I get this error:
WARNING: Error creating document : SolrInputDocumnt[{id_i=id_i(1.0)={2},
name_s=name_s(1.0)={John Smith}, city_s=city_s(1.0)={Newark}}]
org.apache.solr.common.SolrException: Document [null] missing required
field: meta_guid_s

>From the schema.xml I see that the meta_guid_s field is defined as a "Global
unique ID" but does this have to be set explicitly or mapped to a particular
field?

thanks.
-- 
View this message in context: 
http://www.nabble.com/Solr-exception-with-missing-required-field-%28meta_guid_s%29-tp25460529p25460529.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to