add boost to hashCode: LUCENE-460

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@365976 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2006-01-04 20:22:49 +00:00
parent 3a4d2491fa
commit 2d85b34db8
1 changed files with 1 additions and 1 deletions

View File

@ -92,6 +92,6 @@ public abstract class MultiTermQuery extends Query {
}
public int hashCode() {
return term.hashCode();
return term.hashCode() + Float.floatToRawIntBits(getBoost());
}
}