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
simpl
On Sat, Jan 2, 2010 at 12:27 AM, Israel Ekpo 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 t
Thanks for quick reply.
As per you suggestion I commented uniqueKey element in schema.xml and
QueryElevationComponent in solrconfig.xml.
After that its working like charm.
I appreciate your help.
--evana
Israel Ekpo wrote:
>
> On Fri, Jan 1, 2010 at 9:13 PM, evana wrote:
>
>>
>> Hi,
>>
>>
On Fri, Jan 1, 2010 at 9:13 PM, evana wrote:
>
> Hi,
>
> I am trying to import a csv file (without "id" field) on solr 1.4
> In schema.xml "id" field is set with required="false".
> But I am getting "org.apache.solr.common.SolrException: Document missing
> required field: id"
>
> Following is the
Hi,
I am trying to import a csv file (without "id" field) on solr 1.4
In schema.xml "id" field is set with required="false".
But I am getting "org.apache.solr.common.SolrException: Document missing
required field: id"
Following is the schema.xml fields section
i