Hi, I need to query data from a set with two bins, one is string type, the other is boolean type. Because of only one bin can be used as filter when query, I use the string-typed bin as filter, and make a filter expression to filter the boolean-typed bin.
The string typed bin has been set as secondary index. The boolean-typed is not set as secondary index now.
Could query be faster, if I set a secondary index on the boolean-typed bin?
Another question is if bin type of a sindex can be boolean-type? I check the doc said the bin type should be numeric, string or geo2dsphere.