|
Hi, I'm really not sure what's going on. Your log shows DSpace posting information to Solr, which is what I'd expect. Have you checked the permissions of the Solr directory tree? It needs to be owned by the same user that Tomcat runs under ([dspace]/solr/oai and subdirectories). As a last resort, you could manually delete everything from that solr index, then run another import. It shouldn't really do anything different compared to clean-cache, but you never know. If you run eg curl 'http://localhost:8080/solr/oai/select?q=*:*&indent=true&rows=0' then you'll see how many items the OAI solr core currently knows about -- look for numFound. numFound should be equal to the number of items (this might include non-public items and deleted items) after running import. You can run curl --globoff http://localhost:8080/solr/oai/update -H "Content-Type: text/xml" --data-binary '<delete><query>*:*</query></delete>' followed by curl --globoff 'http://localhost:8080/solr/oai/update?commit=true' to force-delete everything in that solr index (you might want to try this on a test server first). numFound in the first query above should then be 0. Run clean-cache and access your web interface without running the import command -- it too should tell you that there are 0 identifiers. If it still claims that there are items, you may have a web cache layer in front of your repository or something? If you do get 0 identifiers via the web interface after the delete, run the import command and check again. Hopefully you'll then see exactly those items you're expecting to see. Just a very final comment -- what are you looking at in the OAI interface? I just followed the links in your initial e-mail again and the OAI interface now shows 30 records/identifiers, the same number of items as shown in JSPUI. So perhaps your earlier steps actually did work and you're just looking at an out-of-date web page for some reason? cheers, Andrea On 09/02/16 16:48, Demis Estabridis
wrote:
-- Dr Andrea Schweer Lead Software Developer, ITS Information Systems The University of Waikato, Hamilton, New Zealand +64-7-837 9120 -- |
- [dspace-tech] Need to delete records on OAI Demis Estabridis
- Re: [dspace-tech] Need to delete records on OAI Andrea Schweer
- Re: [dspace-tech] Need to delete records on OAI Demis Estabridis
- Re: [dspace-tech] Need to delete records on ... Andrea Schweer
- Re: [dspace-tech] Need to delete records... Demis Estabridis
- Re: [dspace-tech] Need to delete re... Andrea Schweer
