From: Grant J. <fgj...@up...> - 2009-07-16 18:05:00
|
Anyone following this thread... Here's the format (Without any security from the command line on the box. The ID seems to be the 001 field. curl http://localhost:8080/solr/biblio/update -H "Content-Type: text/xml" --data-binary '<delete><id>PMWW5609</id><id>1234567</id><id>3333333</id></delete>' Cheers -- F. Grant Johnson Systems Coordinator Robertson Library University of Prince Edward Island >>> On 7/16/2009 at 2:45 PM, in message <749...@ma...>, Andrew Nagy <as...@gm...> wrote: > Cool! I know Eric may not be necessarily working with Marc records - but we > do hope to add delete capabilities to SolrMarc. This way you can add to the > marc mapping what field you use to denote a deleted record and let SolrMarc > handle the rest. > > Andrew > > On Thu, Jul 16, 2009 at 11:45 AM, Eric Lease Morgan <em...@nd...> wrote: > >> >> On Jul 16, 2009, at 11:05 AM, vuf...@li... >> wrote: >> >> >> How do I remove records in batch that I loaded in error? >> > >> > Grant - I have been building some record "maintenance" features in >> > the admin >> > module with VuFind but it's not fully fleshed out and ready for use. >> > >> > Until then - you can delete records from the Solr index directly. >> > Here is >> > the documentation on this. Let me know if you have any questions on >> > how to >> > do this. >> > >> > >> > http://wiki.apache.org/solr/UpdateXmlMessages#head-f5553a8214869b11708ad5476e0 > 5e7b05a024c23 >> >> >> >> I have also thought about this problem, and through my investigations >> I saw a file named util/deletes.php which may do the job for you, but >> since I broke my PHP implementation I no longer have the PHP command- >> line utility. I hope to write soon something a delete application in >> Perl. It should be less than a dozen lines long. >> >> -- >> Eric Lease Morgan >> Head, Digital Access and Information Architecture Department >> Hesburgh Libraries, University of Notre Dame >> >> (574) 631-8604 >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full prize >> details at: http://p.sf.net/sfu/Challenge >> _______________________________________________ >> VuFind-General mailing list >> VuF...@li... >> https://lists.sourceforge.net/lists/listinfo/vufind-general >> |