Created
March 8, 2011 04:16
-
-
Save abdollar/859836 to your computer and use it in GitHub Desktop.
Delete by Query to delete from SOLR
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
delete from solr - delete by query | |
curl http://hostname:port/solr/update --data-binary '<delete><query>id:123456</query></delete>' -H 'Content-type:text/xml; charset=utf-8' | |
curl http://hostname:port/solr/update --data-binary '<commit waitFlush="false" waitSearcher="false" expungeDeletes="true"/>' -H 'Content-type:text/xml; charset=utf-8' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment