update test case

This commit is contained in:
Shinsuke Sugaya 2018-09-11 22:24:55 +09:00
parent 058ad1ee3d
commit b8d9152674

View file

@ -61,8 +61,8 @@ public class QueryHelperTest extends UnitFessTestCase {
}
public void test_build() {
float titleBoost = 0.2f;
float contentBoost = 0.1f;
float titleBoost = 0.01f;
float contentBoost = 0.005f;
assertQuery(functionScoreQuery(simpleQuery("QUERY", titleBoost, contentBoost)), buildQuery("QUERY"));
assertQuery(functionScoreQuery(simpleQuery("QUERY", titleBoost, contentBoost)), buildQuery(" QUERY"));