views:

27

answers:

1

I'm using Sphinx to search MySQL.

One of the results Sphinx returns for a search is M*A*S*H, as in the hit television show.

alt text

The problem I'm facing is that M*A*S*H is returned for nearly any query made with Sphinx. I'm guessing this is due to the asterisks. If not, then what could the problem be?

If the asterisks are causing my problem, how can I work around this to not have M*A*S*H returned for every query?

A: 

Does this Sphinx function (EscapeString) do what you want

Jim Garrison
I don't believe so. The problem is not the query, it's the results sets returned. There's nothing that needs escaped.
Josh Smith