Hello,

Have not had success in configuring the setup for special characters in an 
existing Thinking Sphinx implementation. The problem, setup and attempts 
are listed below.

The problem:
The indexed model has records where some names contain special characters, 
such as hyphens, periods, percentages, pound signs and parenthesis. Any 
search for a term like => 'twenty-three' OR 'twenty three' is returning 0 
matches. Any query for names, without special characters, returns as 
expected. 

Index and Search settings:
Sphinx 2.1.9-release, mysql and rails
- using a charset_table similar to James Healy's.
- query is escaped with Riddle
- Star is enabled to true on the model
- min_prefix_len is set to 2.
- query has an asterix after the term => "#{query_escaped}*"
- there are also some conditional filters on the search method, but even 
with those commented out there are still no matches.
- two indexes are weighted, where the name value is 2.

Solutions that I have attempted separately (scoped to only deal with 
hyphens, re-indexed after each attempt):
- special characters to the charset_table
- hyphen character added to ignore_chars
- hyphen character added to blended_chars

Any guidance is greatly appreciated.

Thank you!


-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/d/optout.

Reply via email to