fix #258 task_executor occupy cpu too much (#288)

### What problem does this PR solve?

Issue link:#285

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
KevinHuSh
2024-04-10 10:11:22 +08:00
committed by GitHub
parent 28d29949c6
commit 923cbe488e
3 changed files with 22 additions and 19 deletions

View File

@ -62,7 +62,7 @@ class EsQueryer:
return Q("bool",
must=Q("query_string", fields=self.flds,
type="best_fields", query=" ".join(q),
boost=1, minimum_should_match=min_match)
boost=1)#, minimum_should_match=min_match)
), tks
def needQieqie(tk):