Hi all,

This might seem like a weird situation, but I'm hoping somebody can
help me out.  Basically what I want to do is to order sphinx results
by the criteria I give it, but not limit the results that it returns.
I will try to give my example.

If I have dogs that all have geo information and also some attributes
indexed (adult, beagle, etc) I want to be able to say something like:

Dog.search("@age adult | @breed beagle", :geo => [my,
location], :order => '@weight desc, @geodist asc)

What I would want this to return is all of the dogs, but show me the
closest ones or the ones that best match what I want.  So I could get
an adult begle, a beagle puppy, a puppy lab, but also get puppy labs
just lower down in the results.  Basically browsing everything just
with sphinx doing the grunt work of displaying them back ordered by
matches and distance.

Thanks

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