Am I doing this right?.. because its not working..

ThinkingSphinx.search "@filter_option (#{params[:term]})", :match_mode => 
:extended, :star => true, :classes => [City, Locality, 
ActsAsTaggableOn::Tag],  :index_weights => {City => 1, Locality => 2, 
'ActsAsTaggableOn::Tag' => 3}

I have tried 

ThinkingSphinx.search "@filter_option (#{params[:term]})", :match_mode => 
:extended, :star => true, :classes => [City, Locality, 
ActsAsTaggableOn::Tag],  :index_weights => {City => 1, Locality => 2, 
ActsAsTaggableOn::Tag => 3}

it gives an error.. something to the effect of 

ThinkingSphinx::SyntaxError (sphinxql: syntax error, unexpected $undefined, 
expecting '=' near '::Tag=3); SHOW META'):

Any thoughts?

-- 
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.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to