使用 MongoDB Search boolean 字段类型来索引 true 和 false 值。将字段索引为 boolean 后,您可以使用 equals 和 in 操作符来查询它,并按索引字段对结果进行排序。
boolean
true
false
后退
自动补全
来年
日期