Hello, Helix84 dear, I tried to execute your instructions suitably modified with our handle, but the result does not change, I will always return the same error stack.
thanks for all the help. greetings Gaetano __________________________________________________ C.S.I. Universita' degli Studi di Salerno Gaetano Rufino Ufficio Sistemi Tecnologici E-Mail: gruf...@unisa.it Tel: +39 089 966 350 Fax: +39 089 966 368/346 Tel. HelpDesk: +39 089 966 400 __________________________________________________ “Lei disse: “Dimmi qualcosa di bello” Lui rispose: “(∂ + m) ψ = 0”” -----Messaggio originale----- Da: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] Per conto di helix84 Inviato: martedì 18 febbraio 2014 10:35 A: Sig. Gaetano RUFINO Cc: dspace-tech Oggetto: Re: [Dspace-tech] problems with OAI On Tue, Feb 18, 2014 at 7:59 AM, Sig. Gaetano RUFINO <gruf...@unisa.it> wrote: > org.apache.solr.client.solrj.impl.HttpSolrServer $ RemoteSolrException > : Document is missing mandatory field uniqueKey : item.handle Hi Gaetano, this is the cause of the error. Obviously, some of your items are missing a handle. This should not normally happen. Here's how you can find the item_ids of these items using SQL: SELECT item.item_id FROM item WHERE NOT EXISTS (SELECT resource_id FROM handle WHERE handle.resource_id = item.item_id AND handle.resource_type_id = 2) You should add a handle for each of them to the handle table (replace 123456789 with your handle prefix and 111111 with your item_id): INSERT INTO handle (handle_id, handle, resource_type_id, resource_id) VALUES (nextval('handle_seq'), '123456789/'||currval('handle_seq'), 2, '111111'); Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette