在实时索引sphinx查询中遇到以下错误,
当我尝试获取与电子邮件匹配的行时,遇到此错误,
任何人都可以帮我解决这个问题,
mysql ((none)) > SELECT email_id FROM email_rt;
+------------+--------+------------------+
| id | weight | email_id |
+------------+--------+------------------+
| 1430906348 | 1 | arnold@gmail.com |
+------------+--------+------------------+
mysql ((none)) > SELECT email_id FROM ob_enquiry_email_rt WHERE email_id='arnold@gmail.com';
ERROR 1064 (42000): sphinxql: syntax error, unexpected QUOTED_STRING, expecting CONST_INT or CONST_FLOAT or '-' near ''arnold@gmail.com''
mysql ((none)) > SELECT email_id FROM ob_enquiry_email_rt WHERE email_id="arnold@gmail.com";
ERROR 1064 (42000): sphinxql: syntax error, unexpected $undefined, expecting CONST_INT or CONST_FLOAT or '-' near '"arnold@gmail.com"'
mysql ((none)) > SELECT email_id FROM ob_enquiry_email_rt WHERE MATCH('@(email_id) arnold@gmail.com');
ERROR 1064 (42000): index ob_enquiry_email_rt: query error: no field 'gmail' found in schema
mysql ((none)) > SELECT email_id FROM ob_enquiry_email_rt WHERE MATCH('@(email_id) (arnold@gmail.com)');
ERROR 1064 (42000): index ob_enquiry_email_rt: query error: no field 'gmail' found in schema
提前致谢