Skip to content

Instantly share code, notes, and snippets.

@fheyer
Created March 2, 2014 13:47
Show Gist options
  • Save fheyer/9306803 to your computer and use it in GitHub Desktop.
Save fheyer/9306803 to your computer and use it in GitHub Desktop.
testing tool for running sphinx search queries locally (uses SphinxQL instead of notorious cmd line tool search)
#!/bin/sh
mysql -h0 -P9306 -e "select * from $1 where match('$2'); show meta;"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment