fix #2584 replace with wildcard query
This commit is contained in:
parent
84a7fcbd75
commit
e23829e80e
3 changed files with 3 additions and 3 deletions
|
@ -94,7 +94,7 @@ public class DataConfigService extends FessAppService {
|
|||
cb.query().setHandlerName_Wildcard(wrapQuery(dataConfigPager.handlerName));
|
||||
}
|
||||
if (StringUtil.isNotBlank(dataConfigPager.description)) {
|
||||
cb.query().setDescription_MatchPhrase(wrapQuery(dataConfigPager.description));
|
||||
cb.query().setDescription_Wildcard(wrapQuery(dataConfigPager.description));
|
||||
}
|
||||
// TODO Long, Integer, String supported only.
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ public class FileConfigService extends FessAppService {
|
|||
cb.query().setPaths_Wildcard(wrapQuery(fileConfigPager.paths));
|
||||
}
|
||||
if (StringUtil.isNotBlank(fileConfigPager.description)) {
|
||||
cb.query().setDescription_MatchPhrase(wrapQuery(fileConfigPager.description));
|
||||
cb.query().setDescription_Wildcard(wrapQuery(fileConfigPager.description));
|
||||
}
|
||||
// TODO Long, Integer, String supported only.
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@ public class WebConfigService extends FessAppService {
|
|||
cb.query().setUrls_Wildcard(wrapQuery(webConfigPager.urls));
|
||||
}
|
||||
if (StringUtil.isNotBlank(webConfigPager.description)) {
|
||||
cb.query().setDescription_MatchPhrase(wrapQuery(webConfigPager.description));
|
||||
cb.query().setDescription_Wildcard(wrapQuery(webConfigPager.description));
|
||||
}
|
||||
// TODO Long, Integer, String supported only.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue