用聚合搜索,按照mongoDB官方的文档,使用$not和$regetMatch出现\'OperationFailure: unknown top level operator\'错误,找不到原因 解决:换一种搜索方式,$not换成$nor,$regetMatch换成re.compile 相关文章: 2021-10-02 2022-12-23 2022-12-23 2021-10-02 2022-12-23 2021-10-02 2021-10-02 2022-12-23