Hi Onno That documentation is for v1/v2 of Thinking Sphinx, which added the to_crc32 method to the String class. The implementation of that method uses zlib from Ruby’s standard library: https://github.com/pat/thinking-sphinx/blob/v2/lib/thinking_sphinx/core/string.rb
Those older versions of the gem made heavy use of the CRC32 function (in Ruby and in MySQL/PostgreSQL), but with v3 I’ve found ways to avoid it completely (and as a bonus, doesn’t add any methods to the String class). Of course, if you wish to use it, the old implementation should give you some ideas on how to do that. Cheers — Pat On 14 Dec 2013, at 12:47 am, Onno van der Straaten <[email protected]> wrote: > Hi, > I was wondering about the to_crc32 method. Mentoined > http://pat.github.io/thinking-sphinx/facets.html. Where does it come from? > When I try to use this method it just reports that it doesn't exist. > Cheers, > Onno > > > -- > 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/groups/opt_out. -- 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/groups/opt_out.
