Hi Yuri I think this is because Sphinx considers + to be a special character in search queries. You can escape it though:
Riddle.escape "ABC XYZ A++++" You will still need the + character in your charset_table settings too. Does escaping fix the problem? -- Pat On 9 Jun 2014, at 11:14 am, [email protected] wrote: > I'm using thinking-sphinx (2.0.14) > > Il giorno lunedì 9 giugno 2014 11:07:49 UTC+2, [email protected] ha > scritto: > Hi all, > > for first sorry for my english. > > I need to make a search on a string like "ABC XYZ A+++". > > Everything work fine when I don't have the "A+++" substring. > > I've changed the charset_table config in sphinx.xml adding U+002B (that seems > to be the unicode value for plus symbol) and rebuild index but without > success. > > I've tried to add also other similar plus symbol like U+FE62, U+FF0B but > still not works. > > This is my config file: > > development: > enable_star: true > min_infix_len: 1 > max_matches: 1000000 > max_filter_values: 200000 > charset_table: "0..9, A..Z->a..z, _, +, a..z, U+410..U+42F->U+430..U+44F, > U+430..U+44F, U+002B, U+FE62, U+FF0B" > thread_stack: 512K > mem_limit: 128M > > Thanks in advance. > > Yuri. > > > > -- > 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. -- 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.
