Skip to main content

score_document

Function score_document 

Source
pub fn score_document(
    document: &RenderedDocument,
    weights: &RefineWeights,
    profile: Option<&StyleProfile>,
) -> f32
Expand description

Compute the composite score for document under weights and profile. Returns a value in [0.0, sum_of_weights]. Higher is better.