Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Pazpar2 is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
// This is the old behavior, and the default
const int scorefield_internal = -2; // use our tf/idf, but normalize it
const int scorefield_position = -3; // fake a score based on the position
// This is the old behavior, and the default
const int scorefield_internal = -2; // use our tf/idf, but normalize it
const int scorefield_position = -3; // fake a score based on the position
}
yaz_log(YLOG_LOG,"Got score for %d/%d : %f ",
norm->num, record->position, rp->score );
}
yaz_log(YLOG_LOG,"Got score for %d/%d : %f ",
norm->num, record->position, rp->score );
yaz_log(YLOG_LOG,"Normalized %f * %f + %f = %f",
nr->score, norm->a, norm->b, r );
// TODO - This keeps overwriting the cluster score in random order!
yaz_log(YLOG_LOG,"Normalized %f * %f + %f = %f",
nr->score, norm->a, norm->b, r );
// TODO - This keeps overwriting the cluster score in random order!
// Build the normalizing structures
// List of (sub)records for each target
setup_norm_record( rel, rec );
// Build the normalizing structures
// List of (sub)records for each target
setup_norm_record( rel, rec );