This might be useful:
 
https://lucene.apache.org/solr/6_6_0//solr-core/org/apache/solr/update/processor/UUIDUpdateProcessorFactory.html

On Tue, Sep 5, 2017 at 4:13 AM, Rick Leir <rl...@leirtech.com> wrote:
> 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