我如何在 Sphinx 中对多个属性进行 GROUP BY
sphinx.conf
sql_attr_uint = brand_id
sql_attr_uint = resource_id
sql_attr_uint = is_truck
sql_attr_uint = kind
例子:
SELECT
*
FROM
some_table
GROUP BY
brand_id, resource_id
斯芬克斯告诉我:
SQLSTATE[42000]: Syntax error or access violation: 1064 sphinxql: syntax error, unexpected ',', expecting $end near ', resource_id