fix bug
This commit is contained in:
parent
be8a76779b
commit
f150fac669
|
@ -895,6 +895,6 @@ public class SearchParameterMap implements Serializable {
|
||||||
long numFulltextParams = this.keySet().stream()
|
long numFulltextParams = this.keySet().stream()
|
||||||
.filter(t -> t.equals(Constants.PARAM_CONTENT) || t.equals(Constants.PARAM_TEXT))
|
.filter(t -> t.equals(Constants.PARAM_CONTENT) || t.equals(Constants.PARAM_TEXT))
|
||||||
.count();
|
.count();
|
||||||
return this.keySet().size() > numFulltextParams;
|
return numFulltextParams > 0 && this.keySet().size() > numFulltextParams;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue