Thinking Sphinx gives a error on searching some special chars like /, ) etc.
I thought adding them to the charset_table configuration in sphinx.yml would solve the problem, but it didn’t.
What I did was:
charset_table: "0..9, a..z, _, @, A..Z->a..z, /"
I even tried adding U+002F to the charset table, but it also didn’t work.
So what’s the best possible solution for this?
- Something like the above, although it didn’t work for me? May be I am wrong somewhere?
- Escaping the “search term” before querying Sphinx?
I’ve run in to this same issue. Try escaping the string you are querying against using
Riddle.escape.So a search might be: