Skip to content

Instantly share code, notes, and snippets.

@robyoung
Created March 8, 2009 13:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robyoung/75786 to your computer and use it in GitHub Desktop.
Save robyoung/75786 to your computer and use it in GitHub Desktop.
solrpy delete by query
conn.delete_query('title:foo')
conn.delete_query(['title:foo', 'title:bar'])
conn.commit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment