You seem to have 'company' as your unique key. You can change the schema.xml to use 'company' as the uniqueId. There is nothing magic about the field name 'id'.
While it is possible to have a Solr schema without a unique key, almost nobody does this. A unique key makes working with Solr much simpler. On Sat, Jan 2, 2010 at 7:53 AM, Yonik Seeley <yo...@lucidimagination.com> wrote: > On Sat, Jan 2, 2010 at 12:27 AM, Israel Ekpo <israele...@gmail.com> wrote: >> The uniqueKey definition is not needed if you are going to build the index >> from scratch each time you do the import. >> >> However, if you are doing incremental updates, this field is required and >> the uniqueKey definition is also needed too to specify what the "primary >> key" for the doucment is. > > Further, if you know you aren't adding any duplicate documents, you > can temporarily disable document overwriting by adding > "overwrite=false" to the request. > > -Yonik > http://www.lucidimagination.com > -- Lance Norskog goks...@gmail.com