hi I am struggling with this for so long.

I have a field named location_geom : (geometry point). It have
latitude and longitude. It stores value using georuby.
So we can have methods  like lat lon x y on it.
Problem is that I want an attribute from it

What I did is

define_index
 indexes :name
 has "location_geom.lat" , :as => :latitude, :type => :float
end

I need to index this field, if possible separately in latitude and
longitude.
please help.

And I also get an error again and again in indexing it is:
when i do rake ts:in

ERROR: index 'working_asset_core': incompatible schemas: attribute
count mismatch: 4 in schema 'working_asset_core_1', 5 in schema
'working_asset_core_0'.

what is cause and solution for this.
Please Help.

Thanks
Sumeet

--~--~---------~--~----~------------~-------~--~----~
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