Your schema describes id as a required field. You need to tell Solr which
field from the source (most probably, the primary key) will be the id field
in Solr index.

On Tue, 4 Feb 2020 at 23:15, Karl Stoney
<karl.sto...@autotrader.co.uk.invalid> wrote:

> Hey all,
> I'm trying to use the DIH to copy from one collection to another, it
> appears to work (data gets copied) however I've noticed this in the logs:
>
> 17:39:58.167 [qtp1472216456-87] INFO
> org.apache.solr.handler.dataimport.config.DIHConfiguration - ID is a
> required field in SolrSchema . But not found in DataConfig
>
> I can't find the appropriate configuration to get rid of it.  Do I need to
> care?
>
> My config looks like this:
>
> <dataConfig>
> <document>
>    <entity name="solr_doc" processor="SolrEntityProcessor"
>      query="*:*"
>      batchSize="1000"
>      fl="*,old_version:_version_,old_lmake:L_MAKE,old_lmodel:L_MODEL"
>      wt="javabin"
>      url="http://127.0.0.1/solr/at-uk";>
>    </entity>
> </document>
> </dataConfig>
>
> Cheers
> Karl
> This e-mail is sent on behalf of Auto Trader Group Plc, Registered Office:
> 1 Tony Wilson Place, Manchester, Lancashire, M15 4FN (Registered in England
> No. 9439967). This email and any files transmitted with it are confidential
> and may be legally privileged, and intended solely for the use of the
> individual or entity to whom they are addressed. If you have received this
> email in error please notify the sender. This email message has been swept
> for the presence of computer viruses.
>


-- 
-- 
Regards,

*Paras Lehana* [65871]
Development Engineer, *Auto-Suggest*,
IndiaMART InterMESH Ltd,

11th Floor, Tower 2, Assotech Business Cresterra,
Plot No. 22, Sector 135, Noida, Uttar Pradesh, India 201305

Mob.: +91-9560911996
Work: 0120-4056700 | Extn:
*11096*

-- 
*
*

 <https://www.facebook.com/IndiaMART/videos/578196442936091/>

Reply via email to