Hi there!We are using Thinking Sphinx for fulltext search in our project, but now we face that nifty problem.As I red in Sphinx documentation, characters missing in charset_table should be treated like separators.Also, I call Riddle.escape('my_gorgeous_request') before calling ::search method on my models.But I don't get expected result (at least empty one). I end up with ThinkingSphinx::SphinxError.So, the question is - How can I solve this?Should I add all undesired symbols to charset_table? But it's kind of stupid to copy all UTF-8 table there...Maybe there's some kind of configuration option I don't know about (for Sphinx itself?)Or maybe, I'm doing something wrong?
Can you share the controller action that's making this search call? I'd like to get the full context, which may provide some clues as to why you're getting this error.
Cheers
--
Pat
> --
> You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group.
> To view this discussion on the web visit https://groups.google.com/d/msg/thinking-sphinx/-/HdceEdphtfIJ.
> To post to this group, send email to thinkin...@googlegroups.com.
> To unsubscribe from this group, send email to thinking-sphi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msg/thinking-sphinx/-/Umh7IOqKangJ.
> To view this discussion on the web visit https://groups.google.com/d/msg/thinking-sphinx/-/uimBqDRXVBEJ.
> To view this discussion on the web visit https://groups.google.com/d/msg/thinking-sphinx/-/-7OqpwNOO2sJ.
* Don't stress about this bug. What are the odds of it actually occurring?
* Or: Check for queries that are only special characters, and change them to empty strings?
* Or: Add a rescue handler for these errors, and retry with an empty string instead. This could hide other errors though.
I would recommend one of the first two options.
Cheers
--
Pat
> To view this discussion on the web visit https://groups.google.com/d/msg/thinking-sphinx/-/xpYFzeFPSgUJ.
> To view this discussion on the web visit https://groups.google.com/d/msg/thinking-sphinx/-/tSYQ3CJZ2KEJ.