Re: Using DataImportHandler with mysql database

2008-11-11 Thread ant lu
2008-11-11 16:47:36 org.apache.solr.handler.dataimport.SolrWriter upload : Error creating document : SolrInputDocumnt[{}] org.apache.solr.common.SolrException: Document [null] missing required field: id at org.apache.solr.update.DocumentBuilder.toDocument(DocumentBuilder.java:289) at org.ap

Re: Using DataImportHandler with mysql database

2008-11-11 Thread Marc Sturlese
That worked! I was writing in a bad way the > It seems like your data-config does not have any tag. The > following is the correct structure: > > > > > > > > On Tue, Nov 11, 2008 at 12:31 AM, Marc Sturlese > <[EMAIL PROTECTED]>wrote: > >> >> Hey there, >> I am trying to use the

Re: Using DataImportHandler with mysql database

2008-11-10 Thread Shalin Shekhar Mangar
It seems like your data-config does not have any tag. The following is the correct structure: On Tue, Nov 11, 2008 at 12:31 AM, Marc Sturlese <[EMAIL PROTECTED]>wrote: > > Hey there, > I am trying to use the DataImportHandler to index data from a mysql > database. I am having the s