Mysql fulltext search, include date into rank -
Mysql fulltext search, include date into rank -
is possible include date search rank in way?
update, expand question
right doing following, using ln of datediff multiplier add together weight current news:
select title,description,full_text,created, match(title,description,full_text) against ('patient molecular')*1/ln(datediff(now(),created)) rank articles match(title,description,full_text) against ('patient molecular')*1/ln(datediff(now(),created)) order rank desc
but maybe there way include date rank native way?
mysql
Comments
Post a Comment