From: Demian K. <dem...@vi...> - 2010-02-12 17:38:20
|
It should also be possible to delete records using the VuFind Admin module (http://[Vufind-Host]/Admin/Home), though doing it manually through Solr as Till suggests isn't much more difficult! - Demian ________________________________________ From: Till Kinstler [kin...@gm...] Sent: Friday, February 12, 2010 6:59 AM To: Pablo Casas Cc: vuf...@li... Subject: Re: [VuFind-General] Deleting records? You may delete records by sending a <delete> command to Solr by HTTP. There are two ways to specify the records to delete: by record ID or by a query (all records that match that query will be deleteted), see http://wiki.apache.org/solr/UpdateXmlMessages#A.22delete.22_by_ID_and_by_Query In a standard VuFind setup the URL to send the delete commands to is http://[Vufind-Host]:8080/solr/biblio/update Examples: to delete the record with record ID 12345 call http://[Vufind-Host]:8080/solr/biblio/update?stream.body=<delete><id>12345</id></delete> to delete all records matching title:test http://[Vufind-Host]:8080/solr/biblio/update?stream.body=<delete><query>title:test</query></delete> Till Pablo Casas schrieb: > Hello everybody. > > > > We are working under 1.0 C2 version, and we have some corrupted records > so we want to delete them. But how can we do it? There is any query > command in Solr for delete? > > > > Any help is welcome. > > > > > > Pablo Casas > pc...@at... <mailto:pc...@at...> > Ateneu Barcelonès > Canuda, 6 · 08002 Barcelona > Tel. 93 343 61 20 · Fax 93 317 15 25 > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, > Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW > http://p.sf.net/sfu/solaris-dev2dev > > > ------------------------------------------------------------------------ > > _______________________________________________ > VuFind-General mailing list > VuF...@li... > https://lists.sourceforge.net/lists/listinfo/vufind-general -- http://twitter.com/tillk ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ VuFind-General mailing list VuF...@li... https://lists.sourceforge.net/lists/listinfo/vufind-general |