Hi Dave

I'm not quite sure what you mean by limiting records? You can specify  
a larger number of results by using :per_page, if the default page  
size is not large enough.

-- 
Pat

On 10/06/2009, at 9:18 PM, davis wrote:

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