Hi ,

I started using ts from some time. one of the the features i liked is geo
search support from the ts. its working fine with one table but when i m
trying to search on all tables in one go from Thinkingsphinx.search it does
not return any result.


my searching code is like...

rad= 0.0174532925;
@lat = 28.596*rad
@lng= 77.368*rad
@results =Restaurant.search  :geo => [@lat, @lng],  :order => "@geodist ASC,
@relevance DESC"


it gives me result but *when i try with *

@results =ThinkingSphinx.search  :geo => [@lat, @lng],  :order => "@geodist
ASC, @relevance DESC"

*surprisingly i get no results.*
*
*
*
*
in my indexing i have included

has "RADIANS(lat)",  :as => :lat,  :type => :float
    has "RADIANS(lng)", :as => :lng, :type => :float
    set_property :latitude_attr => 'lat'
    set_property :longitude_attr => 'lng'




can any body help me to figure out the issue ?



-kunal




On Mon, Jun 6, 2011 at 8:46 PM, Pat Allan <[email protected]> wrote:

> I've not used Memcache myself, but I know others have - isn't just a matter
> of storing search results in Memcache? Or does it get more complex than
> that?
>
> --
> Pat
>
> On 06/06/2011, at 10:56 AM, Code Daemon wrote:
>
> > Is there any documentation on getting this to work with Memcache?
> >
> > --
> > 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.
> >
>
> --
> 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.
>
>

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