【发布时间】:2015-01-10 23:33:30
【问题描述】:
要利用 MariaDB 10 上的全文索引,我需要在 sql 字符串中使用这种新的“MATCH AGAINST”语法。
http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html#function_match
我认为,如果仅针对某些列,我可以覆盖 linq-to-nhibernate 以更改它在使用时生成的 sql,那将是非常酷的
.Where(x => FullTextIndexedStringProperty.Contains("Some word")).ToList().
谁能给我一些关于如何开始的一般指导?
【问题讨论】:
标签: nhibernate linq-to-nhibernate nhibernate-4