-
-
Save manisnesan/f260ee45d4c5f71157692cd9094f60ac 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