2012-04-01 47 views

回答

0

是的,你需要在Sphinx中使用group by的屬性。 例如,您可以使用文本列的crc32(文本)。像:

sql_query = select text, crc32(text) as text_crc from mytable 
sql_attr_uint = text_crc 

因此,文本將用於全文搜索和text_crc爲group by。

相關問題