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:
Michael McCandless 2014-09-29 22:02:34 +00:00
parent 41f65776d3
commit 4fa6ab1d55
1 changed files with 1 additions and 1 deletions

View File

@ -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>. */