Skip to main content

fn_setweight_selective

Function fn_setweight_selective 

Source
pub fn fn_setweight_selective(
    tsv: &[u8],
    weight: Weight,
    filter: &[Value],
) -> Result<Value>
Expand description

Apply weight only to lexemes appearing in filter; leave others unchanged.