found a workaround, still I would like to know if there a decent
solution ?


On Nov 25, 2:52 pm, pmlarocque <[email protected]> wrote:
> Hello,
>
> Can't find an example for what I am trying to do.
>
> Let say :
>
> Model.search "keyword", :conditions => { :field => 'value' }
>
> what I want is all the models that  match my conditions, but the one
> containing my keyword should come first because of the weight I
> defined.
>
> Actually I am only getting the models matching my conditions + the
> keyword.
>
> Thanks
>
> pml

--

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