CI-> Active Record Search Question |
[eluser]Mischievous[/eluser]
What would be the best way to use active record do produce a search query on the database which is weighted by the best possible match?
[eluser]Mat-Moo[/eluser]
I found this a very useful article for that http://devzone.zend.com/article/1304
[eluser]mddd[/eluser]
If you are searching in full text, use Mysql's MATCH function. It automatically returns results in 'best match' order.
[eluser]Mischievous[/eluser]
Mat-Moo NICE resource... i really appreciate you sharing that.
|
Welcome Guest, Not a member yet? Register Sign In |