update test case
This commit is contained in:
parent
058ad1ee3d
commit
b8d9152674
1 changed files with 2 additions and 2 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Reference in a new issue