milvus bug ----->
1、
RPC error: [search], <MilvusException: (code=1, message=cannot parse expression: good in [ "46型电磁空气阀4623/0804/802常闭型,接口G1/2"内螺纹,线圈DC24V,24瓦", "52型电磁空气阀5230/1002/012-NO常开型,接口G1/8"内螺纹,线圈DC24V,18.5瓦", "气动电磁阀,4V210-08,DC24V,神驰SNS", "电磁阀,3V210-08,DC24V", "电磁阀\250-25流量孔径25mm阀门长度100mm接口内螺纹G1in电压DC24V压力范围0~1MPa适用介质水油常闭型|无", "电磁阀|4V210-08/DC24V||", "电磁气动阀|4V210-0824V|无|无" ], error: line 1:91 token recognition error at: '口')>, <Time:{'RPC start': '2023-10-18 11:09:34.348849', 'RPC error': '2023-10-18 11:09:34.485811'}>
原因:因为pymilvus结果返回的数据被序列化时用了'\'斜杠转义,如果你返回的数据中存在斜杠这种符号就会报这个语法错误,已知2.3.1仍有bug,可以选择清洗标量数据重新建表,或者版本更新
2、
RPC error: [search], <MilvusException: (code=1, message=failed to create query plan: cannot parse expression: baseclass=='货物', error: line 1:11 mismatched input ''货物'' expecting {'(', '[', EXISTS, '+', '-', '~', NOT, JSONContains, JSONContainsAll, JSONContainsAny, BooleanConstant, IntegerConstant, FloatingConstant, Identifier, StringLiteral, JSONIdentifier})>, <Time:{'RPC start': '2023-10-18 09:01:58.094049', 'RPC error': '2023-10-18 09:01:58.105150'}>
原因:expr过滤语法错误,这个是已知bug,升级2.3.1版本即可