|
@@ -257,7 +257,9 @@ func getDataExportSql(scd *SieveCondition) string {
|
|
|
must_not := []string{}
|
|
|
//附加词
|
|
|
if v.Keyword != "" {
|
|
|
- shoulds = append(shoulds, fmt.Sprintf(multi_match, "\""+v.Keyword+"\""))
|
|
|
+ for _, vk := range strings.Split(v.Keyword, " ") {
|
|
|
+ shoulds = append(shoulds, fmt.Sprintf(multi_match, "\""+vk+"\""))
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
for _, vv := range v.Appended {
|