lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <yo...@lucidimagination.com>
Subject Re: solr 1.4 csv import -- Document missing required field: id
Date Sat, 02 Jan 2010 15:53:06 GMT
On Sat, Jan 2, 2010 at 12:27 AM, Israel Ekpo <israelekpo@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

Mime
View raw message