lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ABDOU Samir" <>
Subject coordination factor question!
Date Sun, 09 Jan 2005 21:15:40 GMT

Is it possible to the coordination factor computed in the class BooleanScorer to have a zero

Look at the method computeCoordFactors():

 private final void computeCoordFactors() {
    coordFactors = new float[maxCoord];
    for (int i = 0; i < maxCoord; i++)
      coordFactors[i] = getSimilarity().coord(i, maxCoord-1);
When i=0 the computed coordination factor will have a zero value. The score then can be null


Best regards,


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message