Hi Markus
What does your define_index block look like?
--
Pat
On 14/07/2010, at 12:59 AM, Maechi wrote:
> Hi everybody,
>
> I try to implement a condition in the search part of the
> implementation:
>
> TopContainer.search params[:search], :conditions => { :currency =>
> 'free' }
>
> but with this condition the result always returns null elements. If I
> look at the result without the condition statement there are 5 items
> with currency = "free" in it... It doesn't matter which field I take.
> The condition statement just doesn't work... I'm using Sphinx 0.9.9!
> Is there a bug, or do I have a wrong version implemented... It doesn't
> matter which model I take. All implementations fail when it comes to a
> condition in the search statement. The rest is working brilliant!
>
> Thanks
> Markus
>
> --
> 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.