For both 7.x-1.x and 6.x-3.x, the changed boost uses the wrong field.

  // Boost for a more recent comment or node edit.
  list($changed_steepness, $changed_boost) = explode(':', $changed_settings);
  if ($changed_boost) {
    $ab = 4 / $changed_steepness;
    $params['bf'][] = "recip(ms(NOW,ds_created),3.16e-11,$ab,$ab)^$changed_boost";
  }

So the changed date boost gets applied to the creation date field.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kevin.dutra’s picture

Status: Active » Needs review
FileSize
652 bytes
637 bytes

Here are corresponding patches for both versions.

David_Rothstein’s picture

Status: Needs review » Reviewed & tested by the community

Tested the Drupal 7 patch and it seems to work correctly. (I didn't try the Drupal 6 version.)

pwolanin’s picture

Status: Reviewed & tested by the community » Fixed

Committed to 7 and 6. Thanks.

Status: Fixed » Closed (fixed)

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