Yeah, 2.1.1 has put those deprecations into play. I could switch things over in 
the TS code, but then people using 2.0.6 or 2.0.7 would have code that doesn't 
work.

I guess I'll change it over at some point - perhaps the TS 3.1.x releases - but 
at the very least waiting for a new non-beta Sphinx release. In the meantime, 
people will just have to live with deprecation warnings.

On 16/05/2013, at 8:48 PM, Георгий wrote:

> This work good
> ThinkingSphinx.search query,
>     :order   => '`weight` DESC',
>     :limit   => 10,
>     :indices => ['autocomplete_core']
> 
> Maybe i found bug with sphinx 2.1.1 =), when set group_by in search, i get 
> error 
> Using the old-fashion @variables (@count, @weight, etc.) is deprecated
> because in new version is "is deprecated" ( 
> http://sphinxsearch.com/forum/view.html?id=10874 )
> i delete , @count from facet_search.rb and sphinxql.rb and this help me
> And when i order by @weight, i use
> :select => 'weight() as w',
> :order => "field ASC, w DESC"
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>  
>  


-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to