fix #2584 replace with wildcard query

This commit is contained in:
Shinsuke Sugaya 2021-07-15 15:03:57 +09:00
parent 84a7fcbd75
commit e23829e80e
3 changed files with 3 additions and 3 deletions

View file

@ -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.

View file

@ -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.

View file

@ -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.