Debugging sphinx
If you are a heavy user of thinking sphinx you might have encounter some tricky stuff that could be easily solved if you were able to actually see the indexed data.
Well, you can easily solve that now:
mysql --host 127.0.0.1 --port 9306
With that, you have console access to the index database, that you can query with SphinxQL (http://sphinxsearch.com/docs/current.html#sphinxql-reference)
note: if you are using rails, the ID of the model is not id
but sphinx_internal_id
:)
Written by Alejandro Andrés
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#