2
我正在嘗試在Yii中進行全文搜索,而我似乎無法找到問題所在。全文搜索
我有以下SQL語句正常工作。
SELECT * FROM Topic WHERE MATCH(title,content) AGAINST ('testing' IN BOOLEAN MODE) LIMIT 11;
Yii中,我使用的似乎回到SELECT * FROM Topic LIMIT 11;
CDbcriteria Object
(
[_paramCount:private] => 0
[select] => *
[distinct] =>
[condition] =>
[params] => Array
(
)
[limit] => 11
[offset] => 0
[order] =>
[group] =>
[join] =>
[having] =>
[where] => Array
(
[0] => MATCH (title,content) AGAINST ('testing' IN BOOLEAN MODE)
)
)
在那裏我已經出了錯任何想法以下critieria?
精美的作品。謝謝! – 2011-06-13 13:30:32