Harshal,
Look in solrconfig.xml, this needs to be configured based on one or more 
fields. 
Cheers -- Rick

On September 4, 2017 11:40:29 PM EDT, "Agrawal, Harshal (GE Digital)" 
<harshal.agra...@ge.com> wrote:
>Hello All,
>
>I am looking to index csv file/ PDF documents. I  want solr to generate
>unique key itself.
>I tried to index one file. I am able to configure data config, Solr
>config and Schema file. But I am getting following error while
>indexing:
>
>org.apache.solr.common.SolrException: Document is missing mandatory
>uniqueKey field: id.
>
>Please find attached config files and data files which I am using.
>
>Kindly help me in fixing this issue:
>
>Regards
>Harshal

-- 
Sorry for being brief. Alternate email is rickleir at yahoo dot com 

Reply via email to