Hi,

I just installed Sphinx and Thinking Sphinx and I'm going to try these
out for two projects. First I want to say thank you for this very
helpful library - I like what I've seen so far a lot.

One of the project I'm working on involves geocoding. I've been trying
to use "has latitude, longitude" but got a "nil is not a Symbol" error
message while trying to index my content (latitude and longitude are
decimal in my case). After googling here and debugging, I found out
that I had to explicity :type => :float in order to get things right.

Here's a patch (not sure the wording is appropriate, please adapt!) to
ensure the newcomer gets a better understanding of what's happening:

http://gist.github.com/42578

cheers!

thanks,

Thibaut
--
http://blog.logeek.fr


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to