Is it possible to achieve custom scoring factors with this module? For example, would I be able to add "best rated" as a scoring factor? Is there some documentation available for this? Any pointers are greatly appreciated.

thanks, Fletcher

Comments

douggreen’s picture

Yes it is. but I don't think I've written any documentation. To implement custom scoring factors, your module needs to implement hook_search_ranking. See views_fastsearch_search_ranking() for an example of what this hook needs to return.

I worked on a patch for Drupal core, that didn't make it into 6.x. But I'm going to work harder at getting this in 7.x. See http://drupal.org/node/145242 (although, this link will only tell you that I've thought of this before, and I think that it's important).

douggreen’s picture

Status: Active » Fixed

See the new vfs_ranking_nodetype, now distributed with views_fastsearch, for an example.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.