Thanks Pat :) On Saturday, May 27, 2017 at 6:04:11 AM UTC+5:30, Pat Allan wrote: > > Hi Sundar > > I’d not come across such a situation before. Yes, your fix will work 👍 > > Also, I’ve just modified the line you’ve pointed to so it’s now a partial > match: > > https://github.com/pat/thinking-sphinx/blob/develop/lib/thinking_sphinx/active_record/sql_source.rb#L17 > > Cheers, > > — > Pat > > On 27 May 2017, at 1:47 am, Sundar Rajamanickam <[email protected] > <javascript:>> wrote: > > Hi Pat > > We migrated our DB from utf8 to utf8mb4 recently. So, we modified the > encoding in database.yml to utf8mb4. > > Because of the code in > https://github.com/pat/thinking-sphinx/blob/cf16d18285e57e72d79234ec37ac8a5aa301296b/lib/thinking_sphinx/active_record/sql_source.rb#L17, > > the accented characters are now not getting indexed. > > I have handled this by adding the following line to my ts-indices. > > *set_property utf8?: true* > > > Is this the right way to go about it!? > > Thanks > Sundar Raja > > -- > 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] <javascript:>. > To post to this group, send email to [email protected] > <javascript:>. > Visit this group at https://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 https://groups.google.com/group/thinking-sphinx. For more options, visit https://groups.google.com/d/optout.
