mirror of https://github.com/apache/lucene.git
add missing space
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1628325 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
41f65776d3
commit
4fa6ab1d55
|
@ -112,7 +112,7 @@ public class DefaultSimilarity extends TFIDFSimilarity {
|
|||
numTerms = state.getLength() - state.getNumOverlap();
|
||||
else
|
||||
numTerms = state.getLength();
|
||||
return state.getBoost() * ((float) (1.0 / Math.sqrt(numTerms)));
|
||||
return state.getBoost() * ((float) (1.0 / Math.sqrt(numTerms)));
|
||||
}
|
||||
|
||||
/** Implemented as <code>sqrt(freq)</code>. */
|
||||
|
|
Loading…
Reference in New Issue