Fix malformed query generation
This commit is contained in:
parent
ecf801692e
commit
4d201d1415
|
@ -161,9 +161,6 @@ public class FieldValueFactorFunction extends ScoreFunction {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
if (this == NONE) {
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
return super.toString().toLowerCase(Locale.ROOT);
|
return super.toString().toLowerCase(Locale.ROOT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue