Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broker支持模糊搜索 #332

Merged
merged 13 commits into from
Dec 29, 2020
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ public class QBroker implements Query {

private String keyword;

private Boolean fuzzy;

@Deprecated
private List<Integer> brokerGroupIds;

Expand Down Expand Up @@ -116,4 +118,11 @@ public void setInBrokerIds(List<Integer> inBrokerIds) {
this.inBrokerIds = inBrokerIds;
}

public Boolean getFuzzy() {
return fuzzy;
}

public void setFuzzy(Boolean fuzzy) {
this.fuzzy = fuzzy;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ private BrokerQuery brokerQueryConvert(QBroker query){
brokerQuery.setIp(query.getIp());
brokerQuery.setKeyword(query.getKeyword());
brokerQuery.setBrokerList(query.getInBrokerIds());
brokerQuery.setFuzzy(query.getFuzzy());
}
return brokerQuery;
}
Expand Down