Can you try passing in a string of comma-separated attributes, instead of an 
array of symbols?

-- 
Pat

On 26 Feb 2014, at 4:47 am, J. Garcia <[email protected]> wrote:

> Hi,
> According to Sphinx, it is possible to do a group_by on multiple fields since 
> version 2.1.2: http://sphinxsearch.com/bugs/view.php?id=1453
> 
> I haven't found a way to do a search on multiple fields with Thinking Sphinx.
> Is it possible to group by multiple fields on Thinking Sphinx?
> I have tried by including several group_by but does not seem to work.
> And passing an array of attributes does not seem to be accepted by Thinking 
> Sphinx:
> 
> ThinkingSphinx::SyntaxError: sphinxql: syntax error, unexpected $undefined, 
> expecting IDENT (or 5 other tokens) near '`[:user_id,` :type] LIMIT 0, 20; 
> SHOW META'
>     from 
> .../gems/thinking-sphinx-3.1.0/lib/thinking_sphinx/connection.rb:90:in 
> `rescue in query'
> 
> J.
> 
> 
> -- 
> 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.

-- 
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