Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个要过滤的布尔字段,但我想获取该字段具有特定值或根本没有填充该字段的文档。我怎样才能做到这一点?
有两种处理方法。首先,您可以在映射null_value中使用属性来指定应如何索引空值。或者,您可以使用或过滤器以及或过滤器来扩充您的查询。existsmissingboolor
null_value
exists
missing
bool
or