Пример #1
0
 public virtual float SumOfSquaredWeights()
 {
     queryWeight = idf * query.GetBoost();         // compute query weight
     return(queryWeight * queryWeight);            // square it
 }