【问题标题】:Full-text searching in Symfony 2 and Propel 1.6Symfony 2 和 Propel 1.6 中的全文搜索
【发布时间】:2013-07-03 22:25:17
【问题描述】:

如何使用 Propel 1.6(propel bundle 1.2)在 symfony 2 中使用全文过滤器? 在 propel bundle 自述文件中提到过,但没有找到任何使用示例。

【问题讨论】:

    标签: symfony propel symfony-2.3


    【解决方案1】:

    我是这样做的:

    TableQuery::create()->where("match(column) against('+text' in boolean mode)")->find();
    

    如果有人找到更好的解决方案,请告诉我。

    【讨论】:

      猜你喜欢
      • 2013-06-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-03-09
      • 1970-01-01
      • 2018-11-23
      • 2012-02-29
      相关资源
      最近更新 更多