Wow, that's an odd one.
What happens if it's just 'single', not for a given field?
Model.search 'single'
Also: does it happen for every field? Certain ones? If so, what are the field
names? And what's your index definition?
Cheers
--
Pat
On 15/04/2011, at 7:30 AM, eric.roland wrote:
> I am getting an error in production only and only for the word
> "single"
>
> [GEM_ROOT]/gems/riddle-1.2.2/lib/riddle/client.rb:611:in `request'
>
> [GEM_ROOT]/gems/riddle-1.2.2/lib/riddle/client.rb:221:in `run'
>
> [GEM_ROOT]/gems/riddle-1.2.2/lib/riddle/client.rb:328:in `query'
>
> [GEM_ROOT]/gems/thinking-sphinx-2.0.0/lib/thinking_sphinx/search.rb:
> 349:in `populate'
>
> /usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
>
> [GEM_ROOT]/gems/thinking-sphinx-2.0.0/lib/thinking_sphinx/search.rb:
> 348:in `populate'
>
> [GEM_ROOT]/gems/thinking-sphinx-2.0.0/lib/thinking_sphinx/search.rb:
> 465:in `call'
>
> [GEM_ROOT]/gems/thinking-sphinx-2.0.0/lib/thinking_sphinx/search.rb:
> 465:in `retry_on_stale_index'
>
> [GEM_ROOT]/gems/thinking-sphinx-2.0.0/lib/thinking_sphinx/search.rb:
> 345:in `populate'
>
> [GEM_ROOT]/gems/thinking-sphinx-2.0.0/lib/thinking_sphinx/search.rb:
> 220:in `total_entries'
>
> [GEM_ROOT]/gems/thinking-sphinx-2.0.0/lib/thinking_sphinx/search.rb:
> 847:in `scoped_count'
>
> [GEM_ROOT]/gems/thinking-sphinx-2.0.0/lib/thinking_sphinx/search.rb:
> 129:in `method_missing'
>
> So in console:
>
> SomeEntity.search(:conditions => {:some_field => 'single'})
>
> error
>
> SomeEntity.search(:conditions => {:some_field => 'any other string'})
>
> is okay
>
> Any thoughts?
>
> --
> 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.